Message ID | 201610181504.09237.cehoyos@ag.or.at |
---|---|
State | Accepted |
Commit | c0e2846dcdc1a29de1c78886f5b7a05a252779e4 |
Headers | show |
2016-10-18 15:04 GMT+02:00 Carl Eugen Hoyos <cehoyos@ag.or.at>: > Attached patch increases the size of the input buffer for > av_get_codec_tag_string() to 32, typically used in FFmpeg. Patch applied, Carl Eugen
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)
Hi! Attached patch increases the size of the input buffer for av_get_codec_tag_string() to 32, typically used in FFmpeg. Carl Eugen From 79eff70eb71106b8b2330f5d1d119d40775f1f77 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <cehoyos@ag.or.at> Date: Tue, 18 Oct 2016 14:53:30 +0200 Subject: [PATCH] lavc/sheervideo: Increase av_get_codec_tag_string() input buffer size. A size of 32 is typically used. --- libavcodec/sheervideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)