avformat/hlsenc: fix fmp4_init_filename file name with %v problem
authorSteven Liu <lq@chinaffmpeg.org>
Sat, 19 Jan 2019 06:59:44 +0000 (14:59 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Sun, 10 Feb 2019 06:45:43 +0000 (14:45 +0800)
commit9ec1f7634a621b0fda6d814f730c270c6e22b251
tree99f907e31bb5ae50befba8983d4eaa315ee537a1
parenta03885b745be6ba324f0b24668c8e338d8b1e54c
avformat/hlsenc: fix fmp4_init_filename file name with %v problem

when set option fmp4_init_filename to init_%v.mp4
before patch:
the init file will be init_%v_0.mp4, init_%v_1.mp4
after patch:
the init file will be init_0.mp4, init_1.mp4

Reported-By: Gyan Doshi <ffmpeg@gyani.pro>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/hlsenc.c