diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-26 18:19:57 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-26 18:19:57 +0000 |
commit | b1f3c590c79534efb970220d4c186063adb225aa (patch) | |
tree | ed7d5194ab8b4faeb1c39a91b1e3fda64f3ea33e /libmpdemux/asfheader.c | |
parent | d83fb575cf06d8921758ce1fe2b20320a93d159b (diff) | |
download | mpv-b1f3c590c79534efb970220d4c186063adb225aa.tar.bz2 mpv-b1f3c590c79534efb970220d4c186063adb225aa.tar.xz |
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
Diffstat (limited to 'libmpdemux/asfheader.c')
-rw-r--r-- | libmpdemux/asfheader.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |