diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-09 17:58:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-08 16:25:20 +0100 |
commit | 55ad69e851aefdc8f45ae51e7069c818cd445ce6 (patch) | |
tree | 1314a74a418f92c9fcbb6cc88ccf194bc872ae8d | |
parent | d7ce013de58fc4f2d7dc52d464d156a489189734 (diff) | |
download | ffmpeg-55ad69e851aefdc8f45ae51e7069c818cd445ce6.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
-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 c637b47b9a..57ea929109 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -471,7 +471,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; } |