]> git.sesse.net Git - ffmpeg/commitdiff
Mark "matroska" probe data string constant.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 24 Aug 2008 17:19:46 +0000 (17:19 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 24 Aug 2008 17:19:46 +0000 (17:19 +0000)
Originally committed as revision 14949 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/matroskadec.c

index fd9652fcdb348ae0d31dbc1edc35aaad4af68036..0901c57afccbb1141e242e52af90ecdf6a5f4482 100644 (file)
@@ -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)