From 8a8a1cce6c3a0f4681ff80fc461be82b014d97e8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 6 Apr 2015 14:45:17 +0200 Subject: 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 --- libavfilter/vsrc_mptestsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vsrc_mptestsrc.c') 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) -- cgit v1.2.3