avformat/hlsenc: fix hls_flags temp_file bug
authorSteven Liu <lq@chinaffmpeg.org>
Sat, 25 Feb 2017 02:59:05 +0000 (10:59 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Sat, 25 Feb 2017 02:59:05 +0000 (10:59 +0800)
commitf73ef3748e837d220771d1186f4f5abb8f551123
tree0386066fc603572ecb964fb769a9d344bed33546
parent6bd79ba59f46a8b3133f28faae53b75540469803
avformat/hlsenc: fix hls_flags temp_file bug

refer to ticket id: #6170

rename file from temp to origin name after complete current segment

Reviewed-by: Aman Gupta <ffmpeg@tmm1.net>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/hlsenc.c