Commit 250f6068 authored by hpi1's avatar hpi1

bd_get_current_angle(): check if title has been opened

parent 0e5902ff
......@@ -1338,7 +1338,10 @@ int bd_select_angle(BLURAY *bd, unsigned angle)
unsigned bd_get_current_angle(BLURAY *bd)
{
return bd->title->angle;
if (bd->title) {
return bd->title->angle;
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment