av_format/hlsenc: fix %v handling by format_name function