Commit ee7b5d4e authored by Michael Niedermayer's avatar Michael Niedermayer

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

This fixes depending on implementation defined behavior
parent 0d1acb94
......@@ -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
......
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