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

Michael Niedermayer git at videolan.org
Mon Mar 30 00:22:45 CEST 2015


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

avfilter/tinterlace: 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=8ae350004df67cdd9109cdab6ca5ea74c31a815a
---

 libavfilter/tinterlace.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/tinterlace.h b/libavfilter/tinterlace.h
index fa0a83a..d80a6e2 100644
--- a/libavfilter/tinterlace.h
+++ b/libavfilter/tinterlace.h
@@ -43,7 +43,7 @@ enum TInterlaceMode {
 
 typedef struct {
     const AVClass *class;
-    enum TInterlaceMode mode;   ///< interlace mode selected
+    int mode;                   ///< TInterlaceMode, interlace mode selected
     AVRational preout_time_base;
     int flags;                  ///< flags affecting interlacing algorithm
     int frame;                  ///< number of the output frame



More information about the ffmpeg-cvslog mailing list