diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 46293524fb..753e961428 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -467,7 +467,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; }