aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-02 23:51:29 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-02 23:51:29 +0000
commit94abc5fe26bf3236becda95b82e67120d9391508 (patch)
treef7383174727b83b0b796f7b91b79b30e111da91a
parent349677168c1316d7006d1f7257975355d87dc831 (diff)
last minute audio demuxer patch by Panagiotis Issaris <takis@lumumba.luc.ac.be>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3961 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpdemux/demux_nuv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libmpdemux/demux_nuv.c b/libmpdemux/demux_nuv.c
index ebb678912d..d6b28abc15 100644
--- a/libmpdemux/demux_nuv.c
+++ b/libmpdemux/demux_nuv.c
@@ -69,9 +69,8 @@ int demux_nuv_fill_buffer ( demuxer_t *demuxer )
(rtjpeg_frameheader.comptype == '0'))
{
/* put Audio to audio buffer */
- stream_seek ( demuxer->stream, orig_pos );
- ds_read_packet ( demuxer->audio, demuxer->stream, rtjpeg_frameheader.packetlength + 12,
- rtjpeg_frameheader.timecode / 1000, orig_pos, 0 );
+ ds_read_packet ( demuxer->audio, demuxer->stream, rtjpeg_frameheader.packetlength,
+ rtjpeg_frameheader.timecode / 1000, orig_pos + 12, 0 );
}
return 1;