diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 4e8ea4cd2e..79957eaebe 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -447,6 +447,9 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, // the next rounded up width is 32 *width = FFMAX(*width, 32); } + if (s->codec_id == AV_CODEC_ID_SVQ3) { + *width = FFMAX(*width, 32); + } for (i = 0; i < 4; i++) linesize_align[i] = STRIDE_ALIGN;