# HG changeset patch # User benoit # Date 1178113005 0 # Node ID 669e0f355f0cd6ac102dfee3746cc8e11361c726 # Parent 3fb09f11d6db53770918f20ceeed6a73e6b1ee2b give the position offset of the file in the packet update seek regression test reference file accordingly patch by Daniel Cardenas: Daniel Car cox net original thread: [Ffmpeg-devel] [PATCH] Debug help for file position date: 05/01/2007 02:42 AM diff -r 3fb09f11d6db -r 669e0f355f0c utils.c --- a/utils.c Wed May 02 09:18:41 2007 +0000 +++ b/utils.c Wed May 02 13:36:45 2007 +0000 @@ -729,6 +729,7 @@ /* return packet if any */ if (pkt->size) { got_packet: + pkt->pos = s->cur_pkt.pos; // Isn't quite accurate but close. pkt->duration = 0; pkt->stream_index = st->index; pkt->pts = st->parser->pts;