diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-12-26 20:00:10 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-12-26 21:30:45 +0100 |
commit | 3b870f973ec1368441b2967c8945f2a22319d066 (patch) | |
tree | 03673b6b505e46a00ce5e0c02aed18c2c8e2fdb9 /libavfilter | |
parent | a612e86ea65eef83d3b616df4aa3e774d820e040 (diff) | |
download | ffmpeg-3b870f973ec1368441b2967c8945f2a22319d066.tar.gz |
lavfi/scale: remove usage of link->cur_buf.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_scale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 71f9782bdd..f6e79ff111 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)){ scale_slice(link, out, in, scale->isws[0], 0, (link->h+1)/2, 2, 0); scale_slice(link, out, in, scale->isws[1], 0, link->h /2, 2, 1); }else{ |