Commit 8a8a1cce authored by Michael Niedermayer's avatar Michael Niedermayer

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

This fixes depending on implementation defined behavior
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d2277aa7
...@@ -55,7 +55,7 @@ typedef struct MPTestContext { ...@@ -55,7 +55,7 @@ typedef struct MPTestContext {
AVRational frame_rate; AVRational frame_rate;
int64_t pts, max_pts, duration; int64_t pts, max_pts, duration;
int hsub, vsub; int hsub, vsub;
enum test_type test; int test; ///< test_type
} MPTestContext; } MPTestContext;
#define OFFSET(x) offsetof(MPTestContext, x) #define OFFSET(x) offsetof(MPTestContext, x)
......
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