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

This fixes depending on implementation defined behavior
This commit is contained in:
Michael Niedermayer 2015-03-08 20:59:51 +01:00
parent 0d1acb944c
commit ee7b5d4ef8
1 changed files with 1 additions and 1 deletions

View File

@ -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