From 67ceb42d394bcff0fd25e4e76f1a606d105334cc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 23 Mar 2015 19:31:17 +0100 Subject: [PATCH] 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 --- 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 2140120eba..d86a7f2e95 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;