[FFmpeg-cvslog] avcodec/roqvideoenc: More verbose warning about no power of 2 dimensions

Michael Niedermayer git at videolan.org
Wed Jul 9 21:27:17 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jul  9 21:10:13 2014 +0200| [9af59db6ec0e83c89e2dbc93c9e1ef3d213574cd] | committer: Michael Niedermayer

avcodec/roqvideoenc: More verbose warning about no power of 2 dimensions

Thanks-to: Vitor Sessak <vitor1001 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9af59db6ec0e83c89e2dbc93c9e1ef3d213574cd
---

 libavcodec/roqvideoenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index a950a4e..9ffb854 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -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;



More information about the ffmpeg-cvslog mailing list