[FFmpeg-cvslog] avfilter/vf_colormatrix: Change enums to int, which are accessed via AVOption as int
Michael Niedermayer
git at videolan.org
Sat Mar 7 03:10:02 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at 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 <michaelni at 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;
More information about the ffmpeg-cvslog
mailing list