summaryrefslogtreecommitdiff
path: root/libavfilter/vf_drawtext.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-08 20:59:51 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-08 21:10:31 +0100
commitee7b5d4ef84d1bdc557483a89d5be8c06bfa9a7f (patch)
tree22e408cec838142ab111c6992e382bca16d4d339 /libavfilter/vf_drawtext.c
parent0d1acb944c9bfc169b232e6711b070e3eca8559b (diff)
avfilter/vf_drawtext: Change enums to int, which are accessed via AVOption as int
This fixes depending on implementation defined behavior
Diffstat (limited to 'libavfilter/vf_drawtext.c')
-rw-r--r--libavfilter/vf_drawtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index d20f8055c4..cf24d960db 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -136,7 +136,7 @@ enum expansion_mode {
typedef struct DrawTextContext {
const AVClass *class;
- enum expansion_mode exp_mode; ///< expansion mode to use for the text
+ int exp_mode; ///< expansion mode to use for the text
int reinit; ///< tells if the filter is being reinited
#if CONFIG_LIBFONTCONFIG
uint8_t *font; ///< font to be used