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>
pull/130/head
Michael Niedermayer 10 years ago
parent 9caec04a31
commit 0968180f02
  1. 6
      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;

Loading…
Cancel
Save