summaryrefslogtreecommitdiff
path: root/libavfilter/vf_transpose.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-23 19:31:17 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-30 00:08:57 +0200
commit984c230cd3c19bf6b383d68811ea37c5fb968853 (patch)
treeadadf6dc5678b4742cc71b8c9c470731119f8b01 /libavfilter/vf_transpose.c
parent8ae350004df67cdd9109cdab6ca5ea74c31a815a (diff)
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 <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_transpose.c')
-rw-r--r--libavfilter/vf_transpose.c4
1 files changed, 2 insertions, 2 deletions
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)