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>
This commit is contained in:
Michael Niedermayer 2015-03-23 19:31:17 +01:00
parent 8ae350004d
commit 984c230cd3

View File

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