From 5d8e836d0ec3bcaabf5bc2020210a1bc61975922 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Tue, 8 Sep 2015 17:10:48 +0200 Subject: Replace all remaining occurances of step/depth_minus1 and offset_plus1 --- libavfilter/vf_swapuv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/vf_swapuv.c') diff --git a/libavfilter/vf_swapuv.c b/libavfilter/vf_swapuv.c index 632e31c75e..b450e6fb4c 100644 --- a/libavfilter/vf_swapuv.c +++ b/libavfilter/vf_swapuv.c @@ -56,10 +56,10 @@ static int is_planar_yuv(const AVPixFmtDescriptor *desc) if (desc->flags & ~(AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA) || desc->nb_components < 3 || - (desc->comp[1].depth_minus1 != desc->comp[2].depth_minus1)) + (desc->comp[1].depth != desc->comp[2].depth)) return 0; for (i = 0; i < desc->nb_components; i++) { - if (desc->comp[i].offset_plus1 != 1 || + if (desc->comp[i].offset != 0 || desc->comp[i].shift != 0 || desc->comp[i].plane != i) return 0; -- cgit v1.2.3