diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/network.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/network.c b/stream/network.c index f80017e75b..c324017d48 100644 --- a/stream/network.c +++ b/stream/network.c @@ -457,6 +457,8 @@ nop_streaming_seek( int fd, off_t pos, streaming_ctrl_t *stream_ctrl ) { void fixup_network_stream_cache(stream_t *stream) { struct MPOpts *opts = stream->opts; + if(!opts) + return; if(stream->streaming_ctrl->buffering) { if(opts->stream_cache_size<0) { // cache option not set, will use our computed value. |