You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user