This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avfilter/vf_drawtext: use gm_time_r() for thread saftey
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer
11 years ago
parent
a52cb42ba6
commit
013c3eb05c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavfilter/vf_drawtext.c
+ 1
- 1
libavfilter/vf_drawtext.c
View File
@@ -855,7 +855,7 @@ static int func_strftime(AVFilterContext *ctx, AVBPrint *bp,
if (tag == 'L')
localtime_r(&now, &tm);
else
tm = *gmtime(&now);
tm = *gmtime
_r
(&now
, &tm
);
av_bprint_strftime(bp, fmt, &tm);
return 0;
}
Write
Preview
Loading…
Cancel
Save