[FFmpeg-devel] [PATCH] Fixes detection and error reporting of missing files in img2.c

Benoit Fouet benoit.fouet
Thu Oct 22 18:27:06 CEST 2009


On Thu, 22 Oct 2009 15:35:22 +0200 Michael Niedermayer wrote:
> On Thu, Oct 22, 2009 at 10:51:55AM +0300, Samuli Valo wrote:
> >
> > Hello!
> >
> > Currently av_open_input_file() seems to succeed for nonexisting files that 
> > are handled by img2.c.
> > Attached patch fixes img2.c to give correct error reporting for nonexisting 
> > files.
> >
> >
> 
> >  img2.c |    6 ++++--
> >  1 file changed, 4 insertions(+), 2 deletions(-)
> > 05134ab1b333270370e4d81ce5e6149a76fb462c  img2-enoent.patch
> 
> probably ok, given its tested
> 

works fine, applied.

Ben



More information about the ffmpeg-devel mailing list