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