From 8ae350004df67cdd9109cdab6ca5ea74c31a815a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 23 Mar 2015 19:31:17 +0100 Subject: 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 --- libavfilter/tinterlace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/tinterlace.h') diff --git a/libavfilter/tinterlace.h b/libavfilter/tinterlace.h index fa0a83ae0c..d80a6e2179 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 -- cgit v1.2.3