diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-05 23:01:49 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-05 23:13:59 +0200 |
commit | 845383c358a8c5d8e24e43f6743ec435d2dd3f42 (patch) | |
tree | fd3703cc6558355824ee139939bfc85dc56649ab /libavfilter | |
parent | 3c54e7ed4f42d8ed5aece9484190b5294e272c36 (diff) |
vf_drawtext: always use expanded_text as we always support strftime() now and dont depend on localtime_r() anymore
Found-by: Rolf Siegrist
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_drawtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index b3686214f0..1ef8e69719 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -520,7 +520,7 @@ static inline int is_newline(uint32_t c) static int draw_glyphs(DrawTextContext *dtext, AVFilterBufferRef *picref, int width, int height, const uint8_t rgbcolor[4], const uint8_t yuvcolor[4], int x, int y) { - char *text = HAVE_LOCALTIME_R ? dtext->expanded_text : dtext->text; + char *text = dtext->expanded_text; uint32_t code = 0; int i; uint8_t *p; |