aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-05 21:07:36 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-05 21:55:45 +0200
commitb2fecce3c16e1ca54e171b789a9ff966f593717b (patch)
treebf4de4c01574575a4fbbe678ce0a5ad1b5384365
parent6fd15d6e90b1da03868d2ece0eb88771bfeb6487 (diff)
downloadffmpeg-b2fecce3c16e1ca54e171b789a9ff966f593717b.tar.gz
avformat/flvdec: increase buffer size for parsing metadata string key
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/flvdec.c2
1 files changed, 1 insertions, 1 deletions
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;