From 9eb254f79cb45faa856284ee4e577f6e555fadaa Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Sat, 19 Jul 2003 00:18:49 +0000 Subject: Do not try to seek with reference files. CVS patchset: 5181 CVS date: 2003/07/19 00:18:49 --- src/demuxers/demux_asf.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c index 6ebe7d705..14731fb1b 100644 --- a/src/demuxers/demux_asf.c +++ b/src/demuxers/demux_asf.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_asf.c,v 1.124 2003/07/16 00:13:55 tmattern Exp $ + * $Id: demux_asf.c,v 1.125 2003/07/19 00:18:49 tmattern Exp $ * * demultiplexer for asf streams * @@ -1783,6 +1783,10 @@ static int demux_asf_seek (demux_plugin_t *this_gen, this->status = DEMUX_OK; + if (this->reference_mode) { + return this->status; + } + /* * seek to start position */ -- cgit v1.2.3