[FFmpeg-cvslog] avfilter/yadif: Change enums to int, which are accessed via AVOption as int
Michael Niedermayer
git at videolan.org
Sun Apr 5 16:07:04 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Apr 5 15:46:11 2015 +0200| [0968180f028a3afdf60e030084753164df0adb5b] | committer: Michael Niedermayer
avfilter/yadif: Change enums to int, which are accessed via AVOption as int
This fixes depending on implementation defined behavior
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0968180f028a3afdf60e030084753164df0adb5b
---
libavfilter/yadif.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavfilter/yadif.h b/libavfilter/yadif.h
index 07f2cc9..d23d138 100644
--- a/libavfilter/yadif.h
+++ b/libavfilter/yadif.h
@@ -43,9 +43,9 @@ enum YADIFDeint {
typedef struct YADIFContext {
const AVClass *class;
- enum YADIFMode mode;
- enum YADIFParity parity;
- enum YADIFDeint deint;
+ int mode; ///< YADIFMode
+ int parity; ///< YADIFParity
+ int deint; ///< YADIFDeint
int frame_pending;
More information about the ffmpeg-cvslog
mailing list