ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Sat Mar  7 
02:44:04 2015 +0100| [6f51cb514b7476df749f29c2a1cc8c99fff6ad2e] | committer: 
Michael Niedermayer

avfilter/vf_colormatrix: Change enums to int, which are accessed via AVOption 
as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michae...@gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6f51cb514b7476df749f29c2a1cc8c99fff6ad2e
---

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

diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c
index fc335d7..daba16e 100644
--- a/libavfilter/vf_colormatrix.c
+++ b/libavfilter/vf_colormatrix.c
@@ -68,7 +68,7 @@ typedef struct {
     const AVClass *class;
     int yuv_convert[16][3][3];
     int interlaced;
-    enum ColorMode source, dest;
+    int source, dest;        ///< ColorMode
     int mode;
     int hsub, vsub;
 } ColorMatrixContext;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to