diff options
-rw-r--r-- | xine/BluRay/input_bluray.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c index dbf30127..df91fade 100644 --- a/xine/BluRay/input_bluray.c +++ b/xine/BluRay/input_bluray.c @@ -144,13 +144,13 @@ static void overlay_proc(void *this_gen, const BD_OVERLAY * const ov) uint8_t trans[256]; unsigned i; - if (ov->plane == 1) - this->menu_open = 0; - if (!this) { return; } + if (!ov || ov->plane == 1) + this->menu_open = 0; + if (!ov || !ov->img) { /* hide OSD */ close_overlay(this); |