summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-20 19:12:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-20 19:12:57 +0100
commitd6dba15b97dcbb8987847f0406a95a0cc07d6a37 (patch)
tree1346e6747da87145c173ab0a735fb6b8952f65d0 /libavfilter
parent1a79850a8fa9d441b9ba5a0d039c662ee18121ca (diff)
downloadffmpeg-streaming-d6dba15b97dcbb8987847f0406a95a0cc07d6a37.zip
ffmpeg-streaming-d6dba15b97dcbb8987847f0406a95a0cc07d6a37.tar.gz
avfilter/vf_mcdeint: 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>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_mcdeint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_mcdeint.c b/libavfilter/vf_mcdeint.c
index fc91d2f..b0070d8 100644
--- a/libavfilter/vf_mcdeint.c
+++ b/libavfilter/vf_mcdeint.c
@@ -69,8 +69,8 @@ enum MCDeintParity {
typedef struct {
const AVClass *class;
- enum MCDeintMode mode;
- enum MCDeintParity parity;
+ int mode; ///< MCDeintMode
+ int parity; ///< MCDeintParity
int qp;
AVCodecContext *enc_ctx;
} MCDeintContext;
OpenPOWER on IntegriCloud