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
1 changed files with 1 additions and 1 deletions

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;