diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-08-12 00:21:54 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-08-26 14:21:11 +0800 |
commit | 2a9b934675b9e2d3850b46f8a618c19b03f02551 (patch) | |
tree | d47efa1d64f2308ad067f6627631917692432078 /libavfilter/yadif_common.c | |
parent | 9bb4707b1faea6b6efe64b546c2be4a608ca64c1 (diff) |
avfilter/yadif: simplify the code for better readability
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavfilter/yadif_common.c')
-rw-r--r-- | libavfilter/yadif_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/yadif_common.c b/libavfilter/yadif_common.c index a10cf7a17f..8c20e22af9 100644 --- a/libavfilter/yadif_common.c +++ b/libavfilter/yadif_common.c @@ -69,7 +69,7 @@ static int return_frame(AVFilterContext *ctx, int is_second) static int checkstride(YADIFContext *yadif, const AVFrame *a, const AVFrame *b) { int i; - for (i = 0; i < yadif->csp->nb_components; i++) + for (i = 0; i < yadif->nb_components; i++) if (a->linesize[i] != b->linesize[i]) return 1; return 0; |