[FFmpeg-devel] [PATCH]Read swr_convert return value

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Feb 27 22:43:56 CET 2012


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > I have no use-case and the patch is not tested, but swr_convert
> > returns negative values on OOM, and I suspect ffmpeg should
> > terminate in that case.
> > 
> > Please review, Carl Eugen
> 
> LGTM if fate passes

I only see the same failure as fate-i486-linux-gnu-gcc-4.4, 
so patch applied.

The reason for the patch was this mail at -user, 
am I correct that -xerror simply cannot always work?
http://thread.gmane.org/gmane.comp.video.ffmpeg.user/35745

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list