diff flic.c @ 775:c5077fdab490 libavformat

AVPacket.pos
author michael
date Thu, 26 May 2005 20:17:12 +0000
parents 253b5292946a
children feca73904e67
line wrap: on
line diff
--- a/flic.c	Thu May 26 07:47:51 2005 +0000
+++ b/flic.c	Thu May 26 20:17:12 2005 +0000
@@ -178,6 +178,7 @@
             }
             pkt->stream_index = flic->video_stream_index;
             pkt->pts = flic->pts;
+            pkt->pos = url_ftell(pb); 
             memcpy(pkt->data, preamble, FLIC_PREAMBLE_SIZE);
             ret = get_buffer(pb, pkt->data + FLIC_PREAMBLE_SIZE, 
                 size - FLIC_PREAMBLE_SIZE);