[FFmpeg-devel] sanity check error in libswscale, is it needed for a very small mov?

Carl Eugen Hoyos cehoyos
Sun Feb 14 21:27:51 CET 2010


Mo DeJong <mosesdejong <at> gmail.com> writes:

> 
> diff --git a/utils.c b/utils.c
> index 95edcb4..7feba84 100644
> --- a/utils.c
> +++ b/utils.c
> @@ -828,7 +828,9 @@ SwsContext *sws_getContext(int srcW, int srcH,
> enum PixelFormat srcFormat,
>      }
>      /* sanity check */
> -    if (srcW<4 || srcH<1 || dstW<8 || dstH<1) { //FIXME check if
> these are enough and try to lowwer them after fixing

You mailer mangled your patch, please send as attachment.
And please provide a patch made from FFmpeg's main directory.

Carl Eugen




More information about the ffmpeg-devel mailing list