in libavformat/hlsenc.c:
in hls_delete_old_segments():
'dirname' is created as NULL
then, few lines bellow, it is assigned only if 'if (segment && !hls->use_localtime_mkdir) { .. dirname = .. }'
and few more lines bellow it is accessed (crash is here) as 'av_stristr(dirname, "%v")'