[FFmpeg-cvslog] avformat/flvdec: increase buffer size for parsing metadata string key
Michael Niedermayer
git at videolan.org
Fri Jun 5 21:56:54 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun 5 21:07:36 2015 +0200| [b2fecce3c16e1ca54e171b789a9ff966f593717b] | committer: Michael Niedermayer
avformat/flvdec: increase buffer size for parsing metadata string key
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2fecce3c16e1ca54e171b789a9ff966f593717b
---
libavformat/flvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 07f7b68..0960077 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;
More information about the ffmpeg-cvslog
mailing list