[FFmpeg-cvslog] avfilter/vf_lut3d: Change enum to int, which is 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:26:15 2015 +0100| [fbb9ef5b1727b9d133987617afad7a9f62781d9d] | committer: Michael Niedermayer

avfilter/vf_lut3d: 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=fbb9ef5b1727b9d133987617afad7a9f62781d9d
---

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

diff --git a/libavfilter/vf_lut3d.c b/libavfilter/vf_lut3d.c
index 6768550..3ef31ce 100644
--- a/libavfilter/vf_lut3d.c
+++ b/libavfilter/vf_lut3d.c
@@ -58,7 +58,7 @@ struct rgbvec {
 
 typedef struct LUT3DContext {
     const AVClass *class;
-    enum interp_mode interpolation;
+    int interpolation;          ///<interp_mode
     char *file;
     uint8_t rgba_map[4];
     int step;



More information about the ffmpeg-cvslog mailing list