Commit 984c230c authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_transpose: Change enums to int, which are accessed via AVOption as int

This fixes depending on implementation defined behavior
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8ae35000
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment