Commit 0968180f authored by Michael Niedermayer's avatar 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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9caec04a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment