MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / TitleCloseIfo

Function TitleCloseIfo

libhb/dvdnav.c:2178–2197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2176}
2177
2178static void TitleCloseIfo(hb_dvdnav_t * d)
2179{
2180 hb_dvd_chapter_t * chapter;
2181 while ((chapter = hb_list_item(d->list_dvd_chapter, 0)))
2182 {
2183 hb_list_rem(d->list_dvd_chapter, chapter );
2184 free(chapter);
2185 }
2186 hb_list_close(&d->list_dvd_chapter);
2187
2188 if (d->ifo)
2189 {
2190 ifoClose(d->ifo);
2191 }
2192 d->ifo = NULL;
2193 d->title = 0;
2194 d->vts = 0;
2195 d->pgcn = 0;
2196 d->pgn = 0;
2197}

Callers 3

hb_dvdnav_title_scanFunction · 0.85
hb_dvdnav_closeFunction · 0.85
TitleOpenIfoFunction · 0.85

Calls 3

hb_list_itemFunction · 0.85
hb_list_remFunction · 0.85
hb_list_closeFunction · 0.85

Tested by

no test coverage detected