diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-04-06 14:45:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-06 14:45:17 +0200 |
commit | 8a8a1cce6c3a0f4681ff80fc461be82b014d97e8 (patch) | |
tree | 6346249b0433af78e6b5c56047c0976690e0553d /libavfilter/vsrc_mptestsrc.c | |
parent | d2277aa7e2d2aacec3f6d7791ef5c2528541f140 (diff) | |
download | ffmpeg-8a8a1cce6c3a0f4681ff80fc461be82b014d97e8.tar.gz |
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.c | 2 |
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) |