diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-09 21:14:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-09 21:20:31 +0200 |
commit | 76a35f7830d1bd05ce9cdd63a48d5beb9f79ef7c (patch) | |
tree | ccb7cf552b90e75a41ad4a8976ceb679e347fc2e | |
parent | 9af59db6ec0e83c89e2dbc93c9e1ef3d213574cd (diff) | |
download | ffmpeg-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.c | 2 |
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); } |