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@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-03-07 02:44:04 +01:00
parent b0662a943c
commit 6f51cb514b
1 changed files with 1 additions and 1 deletions

View File

@ -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;