changeset 3960:79e1c3c0e634

last minute audio demuxer patch by Panagiotis Issaris <takis@lumumba.luc.ac.be>
author arpi
date Wed, 02 Jan 2002 23:51:29 +0000
parents 72d8a4d0de18
children 84b489adbc15
files libmpdemux/demux_nuv.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_nuv.c	Wed Jan 02 23:38:16 2002 +0000
+++ b/libmpdemux/demux_nuv.c	Wed Jan 02 23:51:29 2002 +0000
@@ -69,9 +69,8 @@
 	    (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;