[FFmpeg-cvslog] avfilter/vf_stereo3d: Change enum to int, which is accessed via AVOption as int

Michael Niedermayer git at videolan.org
Mon Mar 23 19:39:47 CET 2015


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

avfilter/vf_stereo3d: Change enum to int, which is 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=67ceb42d394bcff0fd25e4e76f1a606d105334cc
---

 libavfilter/vf_stereo3d.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_stereo3d.c b/libavfilter/vf_stereo3d.c
index 2140120..d86a7f2 100644
--- a/libavfilter/vf_stereo3d.c
+++ b/libavfilter/vf_stereo3d.c
@@ -63,7 +63,7 @@ enum StereoCode {
 };
 
 typedef struct StereoComponent {
-    enum StereoCode format;
+    int format;                 ///< StereoCode
     int width, height;
     int off_left, off_right;
     int off_lstep, off_rstep;



More information about the ffmpeg-cvslog mailing list