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

Michael Niedermayer git at videolan.org
Sun Mar 22 17:38:52 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Mar 22 17:23:38 2015 +0100| [3a23ec0daa28583f18bd63c1416e6a09afea9812] | committer: Michael Niedermayer

avfilter/vf_setfield: 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=3a23ec0daa28583f18bd63c1416e6a09afea9812
---

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

diff --git a/libavfilter/vf_setfield.c b/libavfilter/vf_setfield.c
index eb4df74..96e9d18 100644
--- a/libavfilter/vf_setfield.c
+++ b/libavfilter/vf_setfield.c
@@ -37,7 +37,7 @@ enum SetFieldMode {
 
 typedef struct {
     const AVClass *class;
-    enum SetFieldMode mode;
+    int mode;                   ///< SetFieldMode
 } SetFieldContext;
 
 #define OFFSET(x) offsetof(SetFieldContext, x)



More information about the ffmpeg-cvslog mailing list