summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-23 19:31:17 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-30 00:08:57 +0200
commit8ae350004df67cdd9109cdab6ca5ea74c31a815a (patch)
treec0f8e524a764686d9bbc0dcead82f4b5f9130cef
parentd0059281e6a6a806e4476ad6133962d11cc52695 (diff)
downloadffmpeg-streaming-8ae350004df67cdd9109cdab6ca5ea74c31a815a.zip
ffmpeg-streaming-8ae350004df67cdd9109cdab6ca5ea74c31a815a.tar.gz
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@gmx.at>
-rw-r--r--libavfilter/tinterlace.h2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud