ff_layout_write_record_layoutstats_done
ff_layout_write_record_layoutstats_done(task, hdr);
ff_layout_write_record_layoutstats_done(&hdr->task, hdr);