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

Originally committed as revision 8871 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Daniel Cardenas 18 years ago committed by Benoit Fouet
parent 994cb3333d
commit 711737af8e
  1. 1
      libavformat/utils.c
  2. 1016
      tests/seek.regression.ref

@ -729,6 +729,7 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt)
/* 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;

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save