summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine/BluRay/input_bluray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c
index f53146d9..a51bc43a 100644
--- a/xine/BluRay/input_bluray.c
+++ b/xine/BluRay/input_bluray.c
@@ -603,7 +603,7 @@ static off_t bluray_plugin_read (input_plugin_t *this_gen, char *buf, off_t len)
bluray_input_plugin_t *this = (bluray_input_plugin_t *) this_gen;
off_t result;
- if (!this || !this->bdh || len < 0)
+ if (!this || !this->bdh || len < 0 || this->error)
return -1;
handle_events(this);