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

Michael Niedermayer git at videolan.org
Tue Mar 17 17:26:07 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 17 16:52:10 2015 +0100| [e6140e7822703f0cb5f744ee77a71580a650db7b] | committer: Michael Niedermayer

avfilter/vf_field: 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=e6140e7822703f0cb5f744ee77a71580a650db7b
---

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

diff --git a/libavfilter/vf_field.c b/libavfilter/vf_field.c
index ed12379..72cabdb 100644
--- a/libavfilter/vf_field.c
+++ b/libavfilter/vf_field.c
@@ -33,7 +33,7 @@ enum FieldType { FIELD_TYPE_TOP = 0, FIELD_TYPE_BOTTOM };
 
 typedef struct {
     const AVClass *class;
-    enum FieldType type;
+    int type;                   ///< FieldType
     int nb_planes;              ///< number of planes of the current format
 } FieldContext;
 



More information about the ffmpeg-cvslog mailing list