Commit ee17295d authored by Michael Niedermayer's avatar Michael Niedermayer

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

This fixes depending on implementation defined behavior
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 67e15622
...@@ -38,7 +38,7 @@ enum FilterMode { ...@@ -38,7 +38,7 @@ enum FilterMode {
typedef struct { typedef struct {
const AVClass *class; const AVClass *class;
enum FilterMode luma_mode, chroma_mode, alpha_mode; int luma_mode, chroma_mode, alpha_mode; ///<FilterMode
int luma_swap, chroma_swap, alpha_swap; int luma_swap, chroma_swap, alpha_swap;
int nb_planes; int nb_planes;
int linesize[4], chroma_height; int linesize[4], chroma_height;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment