Message ID | tencent_C4CA2AADD31B9C5D4B892607D0BCA6E8A706@qq.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/2] avfilter/vf_drawtext: don't assign twice consecutively to the same value | expand |
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index c4c09894e4..f7b9c25e62 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -1052,7 +1052,7 @@ static int func_strftime(AVFilterContext *ctx, AVBPrint *bp, if (tag == 'L') localtime_r(&now, &tm); else - tm = *gmtime_r(&now, &tm); + gmtime_r(&now, &tm); av_bprint_strftime(bp, fmt, &tm); return 0; }