mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
3c54e7ed4f
commit
845383c358
|
@ -520,7 +520,7 @@ static inline int is_newline(uint32_t c)
|
||||||
static int draw_glyphs(DrawTextContext *dtext, AVFilterBufferRef *picref,
|
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)
|
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;
|
uint32_t code = 0;
|
||||||
int i;
|
int i;
|
||||||
uint8_t *p;
|
uint8_t *p;
|
||||||
|
|
Loading…
Reference in New Issue