avfilter/vsrc_mptestsrc: 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>
This commit is contained in:
parent
d2277aa7e2
commit
8a8a1cce6c
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ typedef struct MPTestContext {
|
|||
AVRational frame_rate;
|
||||
int64_t pts, max_pts, duration;
|
||||
int hsub, vsub;
|
||||
enum test_type test;
|
||||
int test; ///< test_type
|
||||
} MPTestContext;
|
||||
|
||||
#define OFFSET(x) offsetof(MPTestContext, x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue