From b2fecce3c16e1ca54e171b789a9ff966f593717b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 5 Jun 2015 21:07:36 +0200 Subject: [PATCH] avformat/flvdec: increase buffer size for parsing metadata string key Signed-off-by: Michael Niedermayer --- libavformat/flvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 07f7b681e9..0960077851 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -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;