diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-09 17:58:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-09 20:19:17 +0200 |
commit | 3728603f1854b5c79d1a64dd3b41b80640ef1e7f (patch) | |
tree | f0b0856432c6f43e23f0949bdd20ae4693fe3d9f /libavcodec | |
parent | 904a2864bdafe19d18db95ca54dfb36d72957a16 (diff) | |
download | ffmpeg-3728603f1854b5c79d1a64dd3b41b80640ef1e7f.tar.gz |
avcodec/ffv1enc: update buffer check for 16bps
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ffv1enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 7c1b30a147..0af20ed10c 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -275,7 +275,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 AVERROR_INVALIDDATA; } |