aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libmpdemux/demux_asf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/demux_asf.c b/libmpdemux/demux_asf.c
index 8ce7820144..b0bdffcb9a 100644
--- a/libmpdemux/demux_asf.c
+++ b/libmpdemux/demux_asf.c
@@ -587,6 +587,8 @@ static demuxer_t* demux_open_asf(demuxer_t* demuxer)
sh_audio->format=sh_audio->wf->wFormatTag;
}
}
+ if(!demuxer->stream->seek)
+ demuxer->seekable=0;
return demuxer;
}