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 { typedef struct YADIFContext {
const AVClass *class; const AVClass *class;
enum YADIFMode mode; int mode; ///< YADIFMode
enum YADIFParity parity; int parity; ///< YADIFParity
enum YADIFDeint deint; int deint; ///< YADIFDeint
int frame_pending; int frame_pending;

Loading…
Cancel
Save