[MPlayer-cvslog] r30437 - trunk/libmpdemux/asfheader.c

reimar subversion at mplayerhq.hu
Tue Jan 26 19:19:58 CET 2010


Author: reimar
Date: Tue Jan 26 19:19:57 2010
New Revision: 30437

Log:
Enable parsing for ASF audio streams.
This is necessary to use the ffmp2 decoder with dvr-ms files.

Modified:
   trunk/libmpdemux/asfheader.c

Modified: trunk/libmpdemux/asfheader.c
==============================================================================
--- trunk/libmpdemux/asfheader.c	Tue Jan 26 19:15:58 2010	(r30436)
+++ trunk/libmpdemux/asfheader.c	Tue Jan 26 19:19:57 2010	(r30437)
@@ -444,6 +444,7 @@ int read_asf_header(demuxer_t *demuxer,s
       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))


More information about the MPlayer-cvslog mailing list