[FFmpeg-devel] [PATCH 1/4] lavfi/idet: remove unecessary poll_frame callback.

Clément Bœsch ubitux at gmail.com
Wed Dec 26 17:22:47 CET 2012


On Wed, Dec 26, 2012 at 12:25:21PM +0100, Stefano Sabatini wrote:
> On date Wednesday 2012-12-26 03:07:42 +0100, Clément Bœsch encoded:
> > ---
> >  libavfilter/vf_idet.c | 18 ------------------
> >  1 file changed, 18 deletions(-)
> > 
> > diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c
> > index e56cff4..6bc45d1 100644
> > --- a/libavfilter/vf_idet.c
> > +++ b/libavfilter/vf_idet.c
> > @@ -207,23 +207,6 @@ static int request_frame(AVFilterLink *link)
> >      return 0;
> >  }
> >  
> > -static int poll_frame(AVFilterLink *link)
> > -{
> > -    IDETContext *idet = link->src->priv;
> > -    int ret, val;
> > -
> > -    val = ff_poll_frame(link->src->inputs[0]);
> > -
> > -    if (val >= 1 && !idet->next) { //FIXME change API to not requre this red tape
> > -        if ((ret = ff_request_frame(link->src->inputs[0])) < 0)
> > -            return ret;
> > -        val = ff_poll_frame(link->src->inputs[0]);
> > -    }
> > -    assert(idet->next || !val);
> > -
> > -    return val;
> > -}
> > -
> 
> Should be OK, given that it is not used.

Applied.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121226/52339767/attachment.asc>


More information about the ffmpeg-devel mailing list