]> git.sesse.net Git - ffmpeg/commit
avformat/hlsenc: don't use %s for strftime on msvc
authorHendrik Leppkes <h.leppkes@gmail.com>
Sat, 25 Feb 2017 03:23:50 +0000 (11:23 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Sat, 25 Feb 2017 03:23:50 +0000 (11:23 +0800)
commit3aef2fceff3205605aed19f8a81b56db56496631
tree35820dd0e2eaff15db0737542f32f45967499afa
parentf73ef3748e837d220771d1186f4f5abb8f551123
avformat/hlsenc: don't use %s for strftime on msvc

MSVC doesn't support the %s time format, and instead of returning an
error the invalid parameter handler is invoked which (by default)
terminates the process.

Reviewed-by:Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
libavformat/hlsenc.c