From 035c23273e7ae539a4efac4cdbdc32d5fc294f78 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 3 Feb 2002 23:26:08 +0000 Subject: asf patch submitted by Andrei Lahun CVS patchset: 1472 CVS date: 2002/02/03 23:26:08 --- src/demuxers/demux_asf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c index 960a48a1b..034f03126 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.20 2002/01/14 00:34:22 guenter Exp $ + * $Id: demux_asf.c,v 1.21 2002/02/03 23:26:08 guenter Exp $ * * demultiplexer for asf streams * @@ -520,7 +520,8 @@ static int asf_read_header (demux_asf_t *this) { } this->wavex_size = total_size; /* 18 + this->wavex[8]; */ - + + if(!this->num_audio_streams) asf_send_audio_header (this, stream_id); } else { @@ -532,6 +533,7 @@ static int asf_read_header (demux_asf_t *this) { this->input->read (this->input, (uint8_t *) this->bih, this->bih_size); + if(!this->num_video_streams) asf_send_video_header (this, stream_id); } pos2 = this->input->get_current_pos (this->input); -- cgit v1.2.3