aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/yadif.h
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-08-27 07:30:30 +0800
committerLimin Wang <lance.lmwang@gmail.com>2020-08-27 07:30:30 +0800
commit71ec3e4583def61fbb32a4815376773ef7c80dee (patch)
treea98e85b05a9184ccbda1d6438bf64874b2b277db /libavfilter/yadif.h
parentca8e5dedc7fabae3df76ea11d9952070cbb19620 (diff)
downloadffmpeg-71ec3e4583def61fbb32a4815376773ef7c80dee.tar.gz
Revert "avfilter/yadif: simplify the code for better readability"
This reverts commit 2a9b934675b9e2d3850b46f8a618c19b03f02551.
Diffstat (limited to 'libavfilter/yadif.h')
-rw-r--r--libavfilter/yadif.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavfilter/yadif.h b/libavfilter/yadif.h
index 773f29bac9..c928911b35 100644
--- a/libavfilter/yadif.h
+++ b/libavfilter/yadif.h
@@ -72,10 +72,7 @@ typedef struct YADIFContext {
void (*filter_edges)(void *dst, void *prev, void *cur, void *next,
int w, int prefs, int mrefs, int parity, int mode);
- int nb_components;
- int depth;
- int hsub;
- int vsub;
+ const AVPixFmtDescriptor *csp;
int eof;
uint8_t *temp_line;
int temp_line_size;