diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-02-14 19:14:45 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-02-19 21:15:08 +0100 |
commit | 59dd70299007677bd1501973f537d54fc52b2746 (patch) | |
tree | e96957e260bd2b456260d96a5df3a06961aec888 | |
parent | d52ceed9fd3655113657d9b572fc2c83b7f913cc (diff) | |
download | ffmpeg-59dd70299007677bd1501973f537d54fc52b2746.tar.gz |
avcodec/indeo3: add support for more dimensions
Fixes #6581
-rw-r--r-- | libavcodec/indeo3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c index 75113a7541..5257d983c2 100644 --- a/libavcodec/indeo3.c +++ b/libavcodec/indeo3.c @@ -171,7 +171,7 @@ static av_cold int allocate_frame_buffers(Indeo3DecodeContext *ctx, if (luma_width < 16 || luma_width > 640 || luma_height < 16 || luma_height > 480 || - luma_width & 3 || luma_height & 3) { + luma_width & 1 || luma_height & 1) { av_log(avctx, AV_LOG_ERROR, "Invalid picture dimensions: %d x %d!\n", luma_width, luma_height); return AVERROR_INVALIDDATA; |