Browse Source

avfilter/vf_setfield: Change enum to int, which is accessed via AVOption as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer 11 years ago
parent
commit
3a23ec0daa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_setfield.c

+ 1
- 1
libavfilter/vf_setfield.c View File

@@ -37,7 +37,7 @@ enum SetFieldMode {

typedef struct {
const AVClass *class;
enum SetFieldMode mode;
int mode; ///< SetFieldMode
} SetFieldContext;

#define OFFSET(x) offsetof(SetFieldContext, x)


Loading…
Cancel
Save