Mercurial > libavformat.hg
diff utils.c @ 2067:669e0f355f0c libavformat
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
| author | benoit |
|---|---|
| date | Wed, 02 May 2007 13:36:45 +0000 |
| parents | 3fb09f11d6db |
| children | f778bf13d4a5 |
line wrap: on
line diff
--- 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;
