diff psxstr.c @ 775:c5077fdab490 libavformat

AVPacket.pos
author michael
date Thu, 26 May 2005 20:17:12 +0000
parents 095009fc2f35
children feca73904e67
line wrap: on
line diff
--- a/psxstr.c	Thu May 26 07:47:51 2005 +0000
+++ b/psxstr.c	Thu May 26 20:17:12 2005 +0000
@@ -283,6 +283,7 @@
                     if (av_new_packet(pkt, frame_size))
                         return AVERROR_IO;
 
+                    pkt->pos= url_ftell(pb) - RAW_CD_SECTOR_SIZE;
                     pkt->stream_index = 
                         str->channels[channel].video_stream_index;
                //     pkt->pts = str->pts;