[FFmpeg-devel] [PATCH] libavformat/hlsenc: default segment name and, use_localtime

Bodecs Bela bodecsb at vivanet.hu
Fri Dec 30 16:38:25 EET 2016

Dear All,

in hlcenc.c, in the hls_write_header() function the default format
string for strftime() function contains %s specifier when use_localtime
is true. This %s specifier will insert the seconds since EPOCH. But %s
is not available on all system/environment. This patch checks %s
availabilty at runtine and alter the default format string if necessary.

thank you,

Bela Bodecs

More information about the ffmpeg-devel mailing list