[FFmpeg-cvslog] lavc/sheervideo: Increase av_get_codec_tag_string() input buffer size.

Carl Eugen Hoyos git at videolan.org
Thu Oct 20 10:56:58 EEST 2016


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Oct 18 14:53:30 2016 +0200| [c0e2846dcdc1a29de1c78886f5b7a05a252779e4] | committer: Carl Eugen Hoyos

lavc/sheervideo: Increase av_get_codec_tag_string() input buffer size.

A size of 32 is typically used.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c0e2846dcdc1a29de1c78886f5b7a05a252779e4
---

 libavcodec/sheervideo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/sheervideo.c b/libavcodec/sheervideo.c
index f8490c9..e8f008b 100644
--- a/libavcodec/sheervideo.c
+++ b/libavcodec/sheervideo.c
@@ -2879,7 +2879,7 @@ static int decode_frame(AVCodecContext *avctx,
     AVFrame *p = data;
     GetBitContext gb;
     unsigned format;
-    char format_str[16];
+    char format_str[32];
     int ret;
 
     if (avpkt->size <= 20)



More information about the ffmpeg-cvslog mailing list