[FFmpeg-cvslog] avcodec/roqvideoenc: Print the correct max resolution
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:14:24 2014 +0200| [76a35f7830d1bd05ce9cdd63a48d5beb9f79ef7c] | committer: Michael Niedermayer
avcodec/roqvideoenc: Print the correct max resolution
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=76a35f7830d1bd05ce9cdd63a48d5beb9f79ef7c
---
libavcodec/roqvideoenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index 9ffb854..1c5970f 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -973,7 +973,7 @@ static av_cold int roq_encode_init(AVCodecContext *avctx)
}
if (avctx->width > 65535 || avctx->height > 65535) {
- av_log(avctx, AV_LOG_ERROR, "Dimensions are max 32768\n");
+ av_log(avctx, AV_LOG_ERROR, "Dimensions are max %d\n", enc->quake3_compat ? 32768 : 65535);
return AVERROR(EINVAL);
}
More information about the ffmpeg-cvslog
mailing list