[FFmpeg-cvslog] avfilter/vf_drawtext: Change enums to int, which are accessed via AVOption as int
Michael Niedermayer
git at videolan.org
Sun Mar 8 21:22:05 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | 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
More information about the ffmpeg-cvslog
mailing list