[FFmpeg-devel] [RFC]Improve flashsv2 encoder dimension error message

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Nov 13 08:45:45 CET 2014


Hi!

Please suggest a better wording.

Thank you, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/flashsv2enc.c b/libavcodec/flashsv2enc.c
index 9735a13..1c016f2 100644
--- a/libavcodec/flashsv2enc.c
+++ b/libavcodec/flashsv2enc.c
@@ -192,7 +192,7 @@ static av_cold int flashsv2_encode_init(AVCodecContext * avctx)
 
     if ((avctx->width > 4095) || (avctx->height > 4095)) {
         av_log(avctx, AV_LOG_ERROR,
-               "Input dimensions too large, input must be max 4096x4096 !\n");
+               "Input dimensions too large, input must be max 4095x4095 !\n");
         return -1;
     }
     if ((avctx->width < 16) || (avctx->height < 16)) {


More information about the ffmpeg-devel mailing list