[FFmpeg-cvslog] avfilter/vf_transpose: Change enums to int, which are accessed via AVOption as int

Michael Niedermayer git at videolan.org
Mon Mar 30 00:22:45 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Mar 23 19:31:17 2015 +0100| [984c230cd3c19bf6b383d68811ea37c5fb968853] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=984c230cd3c19bf6b383d68811ea37c5fb968853
---

 libavfilter/vf_transpose.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c
index d9b165c..dd570e6 100644
--- a/libavfilter/vf_transpose.c
+++ b/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)



More information about the ffmpeg-cvslog mailing list