diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-09 17:58:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-27 02:52:04 +0200 |
commit | f6057c5a62ea88926020ba8b19399c10d3e87c3e (patch) | |
tree | e8fdbfa433513f4424106999c2c03ff8485c9ef2 | |
parent | f3dc3bef4b40524b9cd61001f98d86d139363de2 (diff) | |
download | ffmpeg-f6057c5a62ea88926020ba8b19399c10d3e87c3e.tar.gz |
avcodec/ffv1enc: update buffer check for 16bps
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 3728603f1854b5c79d1a64dd3b41b80640ef1e7f)
Conflicts:
libavcodec/ffv1enc.c
(cherry picked from commit c900c6e5c26cd86cf34f9c8d4347cedbd01f3935)
-rw-r--r-- | libavcodec/ffv1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 8875c6ebea..b363c9606b 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -451,7 +451,7 @@ static av_always_inline int encode_line(FFV1Context *s, int w, int run_mode=0; if(s->ac){ - if(c->bytestream_end - c->bytestream < w*20){ + if(c->bytestream_end - c->bytestream < w*35){ av_log(s->avctx, AV_LOG_ERROR, "encoded frame too large\n"); return -1; } |