1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avformat/flvdec: increase buffer size for parsing metadata string key

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-05 21:07:36 +02:00
parent 6fd15d6e90
commit b2fecce3c1

View 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;