ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Sun Mar 8 20:59:51 2015 +0100| [ee7b5d4ef84d1bdc557483a89d5be8c06bfa9a7f] | committer: Michael Niedermayer
avfilter/vf_drawtext: Change enums to int, which are accessed via AVOption as int This fixes depending on implementation defined behavior > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ee7b5d4ef84d1bdc557483a89d5be8c06bfa9a7f --- libavfilter/vf_drawtext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index d20f805..cf24d96 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 _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
