[FFmpeg-devel] [PATCH] lavc/imgconvert: fix check on av_image_check_size() return code in avpicture_get_size()

Michael Niedermayer michaelni at gmx.at
Sun Jun 17 16:08:57 CEST 2012


On Sun, Jun 17, 2012 at 12:22:24PM +0200, Stefano Sabatini wrote:
> The documentation states that av_image_check_size() will return a
> negative value in case of error, while the check is done on ret != 0.
> 
> Also return a proper error code rather than -1 in case the check fails.

LGTM

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

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120617/b773b800/attachment.asc>


More information about the ffmpeg-devel mailing list