Commit 845383c3 authored by Michael Niedermayer's avatar Michael Niedermayer

vf_drawtext: always use expanded_text as we always support strftime() now and...

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3c54e7ed
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment