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:
parent
8ae350004d
commit
984c230cd3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user