changeset 27417:b7548ba58efe

fix audio in some rtsp streams, ok'd by lu_zero patch by Changjin Liu - !lcj.liu!at!gmail!com! http://thread.gmane.org/gmane.comp.video.mplayer.user/56893/focus=56894
author compn
date Mon, 11 Aug 2008 17:32:31 +0000
parents 48439e36cab0
children 24f66c71a209
files libmpdemux/demux_rtp_codec.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rtp_codec.cpp	Sun Aug 10 18:38:13 2008 +0000
+++ b/libmpdemux/demux_rtp_codec.cpp	Mon Aug 11 17:32:31 2008 +0000
@@ -198,6 +198,7 @@
   sh_audio->wf = wf;
   demux_stream_t* d_audio = demuxer->audio;
   d_audio->sh = sh_audio; sh_audio->ds = d_audio;
+  d_audio->id = sh_audio->aid;
   
   wf->nChannels = subsession->numChannels();