]> git.sesse.net Git - ffmpeg/commitdiff
avformat/flvdec: increase buffer size for parsing metadata string key
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 5 Jun 2015 19:07:36 +0000 (21:07 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 5 Jun 2015 19:55:45 +0000 (21:55 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/flvdec.c

index 07f7b681e917e1aa12054ef0900a11b87b8ebd3d..096007785151a40206cd9d800e4f0ca189402bfb 100644 (file)
@@ -558,7 +558,7 @@ static int flv_read_metabody(AVFormatContext *s, int64_t next_pos)
     int i;
     // only needs to hold the string "onMetaData".
     // Anything longer is something we don't want.
-    char buffer[11];
+    char buffer[32];
 
     astream = NULL;
     vstream = NULL;