[FFmpeg-cvslog] avfilter/vf_il: Change enums to int, which are accessed via AVOption as int

Michael Niedermayer git at videolan.org
Wed Mar 18 12:44:16 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Mar 18 12:25:18 2015 +0100| [ee17295d10aa1c3ea7356d8b91a27bfd870c1268] | committer: Michael Niedermayer

avfilter/vf_il: Change enums to int, which are 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=ee17295d10aa1c3ea7356d8b91a27bfd870c1268
---

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

diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c
index 550fde1..2501ef8 100644
--- a/libavfilter/vf_il.c
+++ b/libavfilter/vf_il.c
@@ -38,7 +38,7 @@ enum FilterMode {
 
 typedef struct {
     const AVClass *class;
-    enum FilterMode luma_mode, chroma_mode, alpha_mode;
+    int luma_mode, chroma_mode, alpha_mode; ///<FilterMode
     int luma_swap, chroma_swap, alpha_swap;
     int nb_planes;
     int linesize[4], chroma_height;



More information about the ffmpeg-cvslog mailing list