Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/framepool.c')
-rw-r--r--libavfilter/framepool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/framepool.c b/libavfilter/framepool.c
index 42c0e58498..da2ac5cf69 100644
--- a/libavfilter/framepool.c
+++ b/libavfilter/framepool.c
@@ -71,7 +71,7 @@ FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(int size),
pool->format = format;
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;
}