avformat/flvdec: Increase string array size
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 1 Jan 2015 17:15:16 +0000 (18:15 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 1 Jan 2015 17:16:04 +0000 (18:16 +0100)
Fixes parsing httphostheader of Scarlatti\,\ Pieter-Jan\ Belder\ -\ Sonata\ K113\ in\ A\ major\ -\ Alle.flv

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/flvdec.c

index 993b5a2..dc0edf2 100644 (file)
@@ -390,7 +390,7 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream,
     FLVContext *flv = s->priv_data;
     AVIOContext *ioc;
     AMFDataType amf_type;
-    char str_val[256];
+    char str_val[1024];
     double num_val;
 
     num_val  = 0;