Browse Source

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>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
9af59db6ec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/roqvideoenc.c

+ 1
- 1
libavcodec/roqvideoenc.c View File

@@ -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…
Cancel
Save