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

Michael Niedermayer git at videolan.org
Sun Mar 8 21:22:05 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Mar  8 20:59:51 2015 +0100| [08880c1f71c393aee55d1a7328ab12f3d4cdc91c] | committer: Michael Niedermayer

avfilter/vf_curves: 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=08880c1f71c393aee55d1a7328ab12f3d4cdc91c
---

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

diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c
index b17c391..29b469f 100644
--- a/libavfilter/vf_curves.c
+++ b/libavfilter/vf_curves.c
@@ -60,7 +60,7 @@ enum preset {
 
 typedef struct {
     const AVClass *class;
-    enum preset preset;
+    int preset;
     char *comp_points_str[NB_COMP + 1];
     char *comp_points_str_all;
     uint8_t graph[NB_COMP + 1][256];



More information about the ffmpeg-cvslog mailing list