changeset 475:8c9c99ccaa25 libavformat

ac3 bugfix, bug found by "Ben Cooley" <bcooley at dstreamtech dot com>
author michael
date Wed, 09 Jun 2004 00:38:52 +0000
parents 2846bb67dd8f
children ea38edda3c13
files mpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg.c	Mon May 31 16:57:00 2004 +0000
+++ b/mpeg.c	Wed Jun 09 00:38:52 2004 +0000
@@ -943,7 +943,7 @@
     stream->start_dts = new_start_dts;
     stream->nb_frames++;
     if (stream->frame_start_offset == 0)
-        stream->frame_start_offset = stream->buffer_ptr;
+        stream->frame_start_offset = stream->buffer_ptr + 1;
     while (size > 0) {
         avail_size = get_packet_payload_size(ctx, stream_index,
                                              stream->start_pts,