summaryrefslogtreecommitdiffstats
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
parent9af59db6ec0e83c89e2dbc93c9e1ef3d213574cd (diff)
downloadffmpeg-streaming-76a35f7830d1bd05ce9cdd63a48d5beb9f79ef7c.zip
ffmpeg-streaming-76a35f7830d1bd05ce9cdd63a48d5beb9f79ef7c.tar.gz
avcodec/roqvideoenc: Print the correct max resolution
Thanks-to: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/roqvideoenc.c2
1 files changed, 1 insertions, 1 deletions
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);
}
OpenPOWER on IntegriCloud