avfilter/vf_transpose: Change enums to int, which are accessed via AVOption as int
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Mar 2015 18:31:17 +0000 (19:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Mar 2015 22:08:57 +0000 (00:08 +0200)
This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_transpose.c

index d9b165c..dd570e6 100644 (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)