Commit d5995c53 authored by Nicolas George's avatar Nicolas George

lavfi/framepool: use av_image_check_size2().

Allow filters to handle larger frames.
parent 345e7072
...@@ -71,7 +71,7 @@ FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(int size), ...@@ -71,7 +71,7 @@ FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(int size),
pool->format = format; pool->format = format;
pool->align = align; pool->align = align;
if ((ret = av_image_check_size(width, height, 0, NULL)) < 0) { if ((ret = av_image_check_size2(width, height, INT64_MAX, format, 0, NULL)) < 0) {
goto fail; goto fail;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment