<div dir="ltr"><br clear="all"><div><div>diff --git a/src/searching.c b/src/searching.c</div><div>index 93c7c2c..70c0f85 100644</div><div>--- a/src/searching.c</div><div>+++ b/src/searching.c</div><div>@@ -587,6 +587,11 @@ dvdnav_status_t dvdnav_get_position_in_title(dvdnav_t *this,</div><div> return DVDNAV_STATUS_ERR;</div><div> }</div><div> </div><div>+ if (state->pgc->program_map == NULL) {</div><div>+ printerr("Program map missing.");</div><div>+ return DVDNAV_STATUS_ERR;</div><div>+ }</div><div>+</div><div> /* Get current sector */</div><div> cur_sector = this->vobu.vobu_start + this->vobu.blockN;</div><div> </div></div><div><br></div>-- <br>Jonathan Fether<br><a href="mailto:jon@fether.org">jon@fether.org</a><br>
</div>