summaryrefslogtreecommitdiffstats
path: root/libavfilter/framepool.c
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2017-11-01 21:38:39 +0100
committerNicolas George <george@nsup.org>2017-11-02 12:23:46 +0100
commitd5995c531d6e9e20e126ae64665783abe959d82b (patch)
tree7466834b55ca8adbf752d3c0672291210f33488c /libavfilter/framepool.c
parent345e7072ab867ee1e56cbf857dbc93d37f168294 (diff)
downloadffmpeg-streaming-d5995c531d6e9e20e126ae64665783abe959d82b.zip
ffmpeg-streaming-d5995c531d6e9e20e126ae64665783abe959d82b.tar.gz
lavfi/framepool: use av_image_check_size2().
Allow filters to handle larger frames.
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 42c0e58..da2ac5c 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;
}
OpenPOWER on IntegriCloud