From 6f51cb514b7476df749f29c2a1cc8c99fff6ad2e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 7 Mar 2015 02:44:04 +0100 Subject: [PATCH] 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 --- 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 fc335d7bbe..daba16e152 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;