[FFmpeg-cvslog] r14949 - trunk/libavformat/matroskadec.c

reimar subversion
Sun Aug 24 19:19:46 CEST 2008


Author: reimar
Date: Sun Aug 24 19:19:46 2008
New Revision: 14949

Log:
Mark "matroska" probe data string constant.


Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Sun Aug 24 19:19:46 2008
@@ -805,7 +805,7 @@ static int matroska_probe(AVProbeData *p
 {
     uint64_t total = 0;
     int len_mask = 0x80, size = 1, n = 1;
-    char probe_data[] = "matroska";
+    static const char probe_data[] = "matroska";
 
     /* EBML header? */
     if (AV_RB32(p->buf) != EBML_ID_HEADER)




More information about the ffmpeg-cvslog mailing list