# HG changeset patch # User rfelker # Date 1054723978 0 # Node ID a084597140afd99d0df2b95a995f96e59bffc8ee # Parent c3ff760a46600b39341325a8fd577c9e1743cc33 don't set audio pts to infinity after seeking in mp3 files :) (10l) diff -r c3ff760a4660 -r a084597140af libmpdemux/demux_audio.c --- 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);