changeset 10244:a084597140af

don't set audio pts to infinity after seeking in mp3 files :) (10l)
author rfelker
date Wed, 04 Jun 2003 10:52:58 +0000
parents c3ff760a4660
children a660de2556c2
files libmpdemux/demux_audio.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_audio.c	Tue Jun 03 18:48:03 2003 +0000
+++ b/libmpdemux/demux_audio.c	Wed Jun 04 10:52:58 2003 +0000
@@ -211,6 +211,7 @@
   demuxer->audio->id = 0;
   demuxer->audio->sh = sh_audio;
   sh_audio->ds = demuxer->audio;
+  sh_audio->samplerate = sh_audio->audio.dwRate;
 
   if(stream_tell(s) != demuxer->movi_start)
     stream_seek(s,demuxer->movi_start);