summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideoenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-09 21:14:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-09 21:20:31 +0200
commit76a35f7830d1bd05ce9cdd63a48d5beb9f79ef7c (patch)
treeccb7cf552b90e75a41ad4a8976ceb679e347fc2e /libavcodec/roqvideoenc.c
parent9af59db6ec0e83c89e2dbc93c9e1ef3d213574cd (diff)
avcodec/roqvideoenc: Print the correct max resolution
Thanks-to: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/roqvideoenc.c')
-rw-r--r--libavcodec/roqvideoenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index 9ffb854555..1c5970f68b 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);
}