summaryrefslogtreecommitdiff
path: root/libavfilter/vsrc_mptestsrc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-06 14:45:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-06 14:45:17 +0200
commit8a8a1cce6c3a0f4681ff80fc461be82b014d97e8 (patch)
tree6346249b0433af78e6b5c56047c0976690e0553d /libavfilter/vsrc_mptestsrc.c
parentd2277aa7e2d2aacec3f6d7791ef5c2528541f140 (diff)
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>
Diffstat (limited to 'libavfilter/vsrc_mptestsrc.c')
-rw-r--r--libavfilter/vsrc_mptestsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c
index 0b80e47e50..d93df7d198 100644
--- a/libavfilter/vsrc_mptestsrc.c
+++ b/libavfilter/vsrc_mptestsrc.c
@@ -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)