From 0968180f028a3afdf60e030084753164df0adb5b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 5 Apr 2015 15:46:11 +0200 Subject: [PATCH] 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 --- libavfilter/yadif.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/yadif.h b/libavfilter/yadif.h index 07f2cc9b6f..d23d1380d0 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;