# HG changeset patch # User michael # Date 1086741532 0 # Node ID 8c9c99ccaa25f714a3f975485152e9d16711c588 # Parent 2846bb67dd8f69ce8d8996e2a2910ca44a56e62d ac3 bugfix, bug found by "Ben Cooley" diff -r 2846bb67dd8f -r 8c9c99ccaa25 mpeg.c --- 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,