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

Stefano Sabatini stefasab at gmail.com
Tue Jun 19 01:48:15 CEST 2012


On date Sunday 2012-06-17 16:08:57 +0200, Michael Niedermayer encoded:
> 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

Applied.
-- 
FFmpeg = Fantastic Frenzy Multimedia Programmable Earthshaking Gem


More information about the ffmpeg-devel mailing list