Commit a58be330 authored by john's avatar john

make bd_get_event return 1 on success and 0 for no events

parent 0b0f9467
......@@ -1497,9 +1497,5 @@ int bd_get_event(BLURAY *bd, BD_EVENT *event)
bd_psr_register_cb(bd->regs, _process_psr_event, bd);
}
if (_get_event(bd, event)) {
return 0;
}
return 1;
return _get_event(bd, event);
}
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