On 07/16/2012 05:44 PM, Luca Barbato wrote:
> +    for (compno = 0; compno < numcomps; ++compno) {
> +        if (image->comps[compno].w > frame->linesize[0] / numcomps) {
> +            av_log(avctx, AV_LOG_ERROR,
> +                   "Error: frame's linesize is too small for the image\n");
> +            return 0;
> +        }
> +    }

I'd remove this check, we do not support variable frame size for video.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to