Re: [FFmpeg-devel] Small patch for someone to push please

2014-08-16 Thread JULIAN GARDNER
> > From: Michael Niedermayer >To: FFmpeg development discussions and patches >Sent: Saturday, 16 August 2014, 1:42 >Subject: Re: [FFmpeg-devel] Small patch for someone to push please > > >On Fri, Aug 15, 2014 at 11:26:40AM +01

Re: [FFmpeg-devel] Small patch for someone to push please

2014-08-15 Thread Michael Niedermayer
On Fri, Aug 15, 2014 at 11:26:40AM +0100, JULIAN GARDNER wrote: > In libavfilter/lavfutils.c around line 77 the code is > >     if (ret < 0 || !frame_decoded) { >     av_log(log_ctx, AV_LOG_ERROR, "Failed to decode image from file\n"); >     goto end; >     } >     ret = 0; > > Now this c

[FFmpeg-devel] Small patch for someone to push please

2014-08-15 Thread JULIAN GARDNER
In libavfilter/lavfutils.c around line 77 the code is     if (ret < 0 || !frame_decoded) {     av_log(log_ctx, AV_LOG_ERROR, "Failed to decode image from file\n");     goto end;     }     ret = 0; Now this causes a problem if ret>=0 and frame_decoded==0 as you get dropped out of the rout