avformat/hlsenc: fix memleak problem about fmp4_init_filename
authorSteven Liu <lq@chinaffmpeg.org>
Sun, 18 Mar 2018 06:08:14 +0000 (14:08 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Sun, 18 Mar 2018 11:05:17 +0000 (19:05 +0800)
commitc6086692645951264a4f98a3568f80b7c827a129
tree40819d6122f786e4f8bd5702634932a596009af6
parent10a0436dcab3dd51d70c391ba299f9a7e8521018
avformat/hlsenc: fix memleak problem about fmp4_init_filename

move fmp4_init_filename init in if else for first fmp4_init_filename set
value operation.

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/hlsenc.c