From 984c230cd3c19bf6b383d68811ea37c5fb968853 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 23 Mar 2015 19:31:17 +0100 Subject: avfilter/vf_transpose: Change enums to int, which are accessed via AVOption as int This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer --- libavfilter/vf_transpose.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/vf_transpose.c') diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c index d9b165cfeb..dd570e6527 100644 --- a/libavfilter/vf_transpose.c +++ b/libavfilter/vf_transpose.c @@ -56,8 +56,8 @@ typedef struct TransContext { int hsub, vsub; int pixsteps[4]; - PassthroughType passthrough; ///< landscape passthrough mode enabled - enum TransposeDir dir; + int passthrough; ///< PassthroughType, landscape passthrough mode enabled + int dir; ///< TransposeDir } TransContext; static int query_formats(AVFilterContext *ctx) -- cgit v1.2.3