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>
pull/127/head
Michael Niedermayer 10 years ago
parent 8ae350004d
commit 984c230cd3
  1. 4
      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)

Loading…
Cancel
Save