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

Lou Logan lou at lrcd.com
Thu Nov 13 22:02:47 CET 2014


On Thu, 13 Nov 2014 08:45:45 +0100, Carl Eugen Hoyos wrote:

> Hi!
> 
> Please suggest a better wording.

What is wrong with the current wording?

> Thank you, Carl Eugen
>
> 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