mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/roqvideoenc: More verbose warning about no power of 2 dimensions
Thanks-to: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a32dcaaaf8
commit
9af59db6ec
@ -978,7 +978,7 @@ static av_cold int roq_encode_init(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
if (((avctx->width)&(avctx->width-1))||((avctx->height)&(avctx->height-1)))
|
||||
av_log(avctx, AV_LOG_ERROR, "Warning: dimensions not power of two\n");
|
||||
av_log(avctx, AV_LOG_ERROR, "Warning: dimensions not power of two, this is not supported by quake\n");
|
||||
|
||||
enc->width = avctx->width;
|
||||
enc->height = avctx->height;
|
||||
|
Loading…
Reference in New Issue
Block a user