diff libmpdemux/asfheader.c @ 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 a2a009b24502
children 5df7d33f5545
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))