OSDN Git Service

lavc/sheervideo: Increase av_get_codec_tag_string() input buffer size.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 18 Oct 2016 12:53:30 +0000 (14:53 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 20 Oct 2016 07:55:52 +0000 (09:55 +0200)
A size of 32 is typically used.

libavcodec/sheervideo.c

index f8490c9..e8f008b 100644 (file)
@@ -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)