[FFmpeg-devel] [PATCH 4/5] lavfi/scale: remove usage of link->cur_buf.

Clément Bœsch ubitux at gmail.com
Wed Dec 26 21:34:03 CET 2012


On Wed, Dec 26, 2012 at 08:41:01PM +0100, Stefano Sabatini wrote:
> On date Wednesday 2012-12-26 20:33:07 +0100, Clément Bœsch encoded:
> > ---
> >  libavfilter/vf_scale.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
> > index 71f9782..f6e79ff 100644
> > --- a/libavfilter/vf_scale.c
> > +++ b/libavfilter/vf_scale.c
> > @@ -402,7 +402,7 @@ static int filter_frame(AVFilterLink *link, AVFilterBufferRef *in)
> >                (int64_t)in->video->sample_aspect_ratio.den * outlink->w * link->h,
> >                INT_MAX);
> >  
> > -    if(scale->interlaced>0 || (scale->interlaced<0 && link->cur_buf->video->interlaced)){
> > +    if(scale->interlaced>0 || (scale->interlaced<0 && in->video->interlaced)){
> 
> LGTM.

Pushed.

-- 
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/7467e329/attachment.asc>


More information about the ffmpeg-devel mailing list