diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-08-24 17:19:46 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-08-24 17:19:46 +0000 |
commit | 7b571fd7a42ebc7fd083665105807193bd54ecc2 (patch) | |
tree | a4c20879c62a45486a14ad008eec50dfc55c4040 /libavformat | |
parent | cd34bc76174397712fc0b2502d550a45dd25c11c (diff) | |
download | ffmpeg-7b571fd7a42ebc7fd083665105807193bd54ecc2.tar.gz |
Mark "matroska" probe data string constant.
Originally committed as revision 14949 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index fd9652fcdb..0901c57afc 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) |