From b1f3c590c79534efb970220d4c186063adb225aa Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 26 Jan 2010 18:19:57 +0000 Subject: [PATCH] Enable parsing for ASF audio streams. This is necessary to use the ffmp2 decoder with dvr-ms files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30437 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/asfheader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmpdemux/asfheader.c b/libmpdemux/asfheader.c index 7e87739338..d0532f1e3d 100644 --- a/libmpdemux/asfheader.c +++ b/libmpdemux/asfheader.c @@ -444,6 +444,7 @@ int read_asf_header(demuxer_t *demuxer,struct asf_priv* asf){ audio_pos += 64; //16+16+4+4+4+16+4; buffer = &hdr[audio_pos]; sh_audio=new_sh_audio(demuxer,streamh->stream_no & 0x7F); + sh_audio->needs_parsing = 1; mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_AudioID, "asfheader", streamh->stream_no & 0x7F); ++audio_streams; if (!asf_init_audio_stream(demuxer, asf, sh_audio, streamh, &audio_pos, &buffer, hdr, hdr_len))