changeset 30395:296ddce42cea

Enable parsing for ASF audio streams. This is necessary to use the ffmp2 decoder with dvr-ms files.
author reimar
date Tue, 26 Jan 2010 18:19:57 +0000
parents 55bf07ab4c89
children 5fe2615e5db7
files libmpdemux/asfheader.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asfheader.c	Tue Jan 26 18:15:58 2010 +0000
+++ b/libmpdemux/asfheader.c	Tue Jan 26 18:19:57 2010 +0000
@@ -444,6 +444,7 @@
       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))