From 663b38cc9d22bc6efd3803f957c18b2df893b51a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 14 Oct 2003 06:55:10 +0000 Subject: Fix playing of asf stream without video (problem was only for seekable inputs). CVS patchset: 5518 CVS date: 2003/10/14 06:55:10 --- src/demuxers/demux_asf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c index 9ddace410..76d2b333a 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.133 2003/10/13 23:49:01 tmattern Exp $ + * $Id: demux_asf.c,v 1.134 2003/10/14 06:55:10 valtri Exp $ * * demultiplexer for asf streams * @@ -1880,7 +1880,7 @@ static int demux_asf_seek (demux_plugin_t *this_gen, state = 0; /* no video stream */ - if (this->video_stream_id == 0) { + if (this->video_stream_id == -1) { #ifdef LOG printf ("demux_asf: demux_asf_seek: no video stream\n"); #endif -- cgit v1.2.3