Browse Source

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>
tags/n2.7
Michael Niedermayer 11 years ago
parent
commit
984c230cd3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/vf_transpose.c

+ 2
- 2
libavfilter/vf_transpose.c 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)


Loading…
Cancel
Save