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@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-04-05 15:46:11 +02:00
parent 9caec04a31
commit 0968180f02

View File

@ -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;