diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-03-08 20:59:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-08 21:10:31 +0100 |
commit | ee7b5d4ef84d1bdc557483a89d5be8c06bfa9a7f (patch) | |
tree | 22e408cec838142ab111c6992e382bca16d4d339 | |
parent | 0d1acb944c9bfc169b232e6711b070e3eca8559b (diff) | |
download | ffmpeg-ee7b5d4ef84d1bdc557483a89d5be8c06bfa9a7f.tar.gz |
avfilter/vf_drawtext: Change enums to int, which are accessed via AVOption as int
This fixes depending on implementation defined behavior
-rw-r--r-- | libavfilter/vf_drawtext.c | 2 |
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 |