diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-07-31 13:49:03 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-08-02 15:14:33 +0200 |
commit | fe026ba960790a004adfcff33f44f96b05538e5c (patch) | |
tree | 23e03c0daff2ce845d6c20ad0c27467f5a4f1ea8 /libavfilter | |
parent | 4fee11ab05fc8569ef35c0ce86a60375c903eefb (diff) | |
download | ffmpeg-fe026ba960790a004adfcff33f44f96b05538e5c.tar.gz |
drawtext: Drop stray guards
There is a fallback for localtime_r and it is in use already.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_drawtext.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 97d44c61f9..a4d25c245d 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -467,10 +467,6 @@ static av_cold int init(AVFilterContext *ctx) } s->tabsize *= glyph->advance; -#if !HAVE_LOCALTIME_R - av_log(ctx, AV_LOG_WARNING, "strftime() expansion unavailable!\n"); -#endif - return 0; } @@ -818,7 +814,7 @@ static int draw_glyphs(DrawTextContext *s, AVFrame *frame, const uint8_t rgbcolor[4], const uint8_t yuvcolor[4], int x, int y) { - char *text = HAVE_LOCALTIME_R ? s->expanded_text : s->text; + char *text = s->expanded_text; uint32_t code = 0; int i; uint8_t *p; |