mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
0d1acb944c
commit
ee7b5d4ef8
|
@ -136,7 +136,7 @@ enum expansion_mode {
|
||||||
|
|
||||||
typedef struct DrawTextContext {
|
typedef struct DrawTextContext {
|
||||||
const AVClass *class;
|
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
|
int reinit; ///< tells if the filter is being reinited
|
||||||
#if CONFIG_LIBFONTCONFIG
|
#if CONFIG_LIBFONTCONFIG
|
||||||
uint8_t *font; ///< font to be used
|
uint8_t *font; ///< font to be used
|
||||||
|
|
Loading…
Reference in New Issue