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

Michael Niedermayer michaelni at gmx.at
Thu Nov 13 15:29:45 CET 2014


On Thu, Nov 13, 2014 at 08:45:45AM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Please suggest a better wording.
> 
> Thank you, Carl Eugen

>  flashsv2enc.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> ec3c0c3e65d5b28031d183ca261f943ef1796d7b  patchflashsv2enc.diff
> 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");

should be ok (with whatever wording is preferred)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141113/c36cc287/attachment.asc>


More information about the ffmpeg-devel mailing list