summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/matroskadec.c2
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)