changeset 3768:185fc71a641c libavformat

Mark "matroska" probe data string constant.
author reimar
date Sun, 24 Aug 2008 17:19:46 +0000
parents 11169564fbdc
children 93d4898d9b6e
files matroskadec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/matroskadec.c	Sun Aug 24 17:09:15 2008 +0000
+++ b/matroskadec.c	Sun Aug 24 17:19:46 2008 +0000
@@ -805,7 +805,7 @@
 {
     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)