diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-04 10:52:58 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-04 10:52:58 +0000 |
commit | 0473f386a42f64e5194dd195814b38221ff4f831 (patch) | |
tree | dd26fca9111f38c631cfe2d7b989a3c6481210c7 | |
parent | 31222d16107579d44b2dfe90215ec1f16859971f (diff) |
don't set audio pts to infinity after seeking in mp3 files :)
(10l)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10245 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/demux_audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/demux_audio.c b/libmpdemux/demux_audio.c index fb0bfc21e5..6715feac52 100644 --- a/libmpdemux/demux_audio.c +++ b/libmpdemux/demux_audio.c @@ -211,6 +211,7 @@ int demux_audio_open(demuxer_t* demuxer) { 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); |