aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-04 10:52:58 +0000
committerGravatar rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-04 10:52:58 +0000
commit0473f386a42f64e5194dd195814b38221ff4f831 (patch)
treedd26fca9111f38c631cfe2d7b989a3c6481210c7
parent31222d16107579d44b2dfe90215ec1f16859971f (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.c1
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);