From 7b571fd7a42ebc7fd083665105807193bd54ecc2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 24 Aug 2008 17:19:46 +0000 Subject: [PATCH] Mark "matroska" probe data string constant. Originally committed as revision 14949 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroskadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index fd9652f..0901c57 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -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) -- 2.7.4