From 6d1f8cd3de365e5b3d78d1b817cc295ee3933036 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Tue, 28 May 2002 00:09:37 +0000 Subject: adjusted the audio pts calculation CVS patchset: 1957 CVS date: 2002/05/28 00:09:37 --- src/demuxers/demux_roq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_roq.c b/src/demuxers/demux_roq.c index 2d4382836..1e1354a4b 100644 --- a/src/demuxers/demux_roq.c +++ b/src/demuxers/demux_roq.c @@ -21,7 +21,7 @@ * For more information regarding the RoQ file format, visit: * http://www.csse.monash.edu.au/~timf/ * - * $Id: demux_roq.c,v 1.1 2002/05/27 21:16:05 tmmm Exp $ + * $Id: demux_roq.c,v 1.2 2002/05/28 00:09:37 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -130,7 +130,7 @@ static void *demux_roq_loop (void *this_gen) { audio_pts = audio_byte_count; audio_pts *= 90000; audio_pts /= (RoQ_AUDIO_SAMPLE_RATE * this->audio_channels); - audio_byte_count += chunk_size; + audio_byte_count += chunk_size - 8; /* do not count the preamble */ current_file_pos = this->input->get_current_pos(this->input); -- cgit v1.2.3