diff options
author | phintuka <phintuka> | 2011-01-25 14:27:29 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2011-01-25 14:27:29 +0000 |
commit | cbfac35a3c98861001d00defa0cf4f94f86e78c2 (patch) | |
tree | bef41d8bce037041dffbba0aaac01ce4b47006cd | |
parent | 26d17bf3f7287fbc86fd88e5379e89da17eded05 (diff) | |
download | xineliboutput-cbfac35a3c98861001d00defa0cf4f94f86e78c2.tar.gz xineliboutput-cbfac35a3c98861001d00defa0cf4f94f86e78c2.tar.bz2 |
stream_reset(): check for stream and demux plugin
-rw-r--r-- | xine/BluRay/input_bluray.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c index 134e49d7..8de02e51 100644 --- a/xine/BluRay/input_bluray.c +++ b/xine/BluRay/input_bluray.c @@ -313,6 +313,9 @@ static void stream_flush(bluray_input_plugin_t *this) static void stream_reset(bluray_input_plugin_t *this) { + if (!this || !this->stream || !this->stream->demux_plugin) + return; + lprintf("Stream reset\n"); this->cap_seekable = 0; |