ffmpeg | branch: master | Michael Niedermayer <[email protected]> | 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 <[email protected]> > 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; _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
