Allow filters to handle larger frames.
Nicolas George authored on 2017/11/02 05:38:39... | ... |
@@ -71,7 +71,7 @@ FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(int size), |
71 | 71 |
pool->format = format; |
72 | 72 |
pool->align = align; |
73 | 73 |
|
74 |
- if ((ret = av_image_check_size(width, height, 0, NULL)) < 0) { |
|
74 |
+ if ((ret = av_image_check_size2(width, height, INT64_MAX, format, 0, NULL)) < 0) { |
|
75 | 75 |
goto fail; |
76 | 76 |
} |
77 | 77 |
|