1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-02 09:09:59 +02:00

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:
Michael Niedermayer 2015-04-06 14:45:17 +02:00
parent d2277aa7e2
commit 8a8a1cce6c

View File

@ -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)