diff options
author | Mike Melanson <mike@multimedia.cx> | 2002-05-28 00:09:37 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2002-05-28 00:09:37 +0000 |
commit | 6d1f8cd3de365e5b3d78d1b817cc295ee3933036 (patch) | |
tree | e70c913c0965572af65ed30caaa2a3e67c44e7bd /src | |
parent | e90fab0c7ae37f502d266db32e6b33f525e89097 (diff) | |
download | xine-lib-6d1f8cd3de365e5b3d78d1b817cc295ee3933036.tar.gz xine-lib-6d1f8cd3de365e5b3d78d1b817cc295ee3933036.tar.bz2 |
adjusted the audio pts calculation
CVS patchset: 1957
CVS date: 2002/05/28 00:09:37
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_roq.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |