summaryrefslogtreecommitdiff
path: root/libavformat/psxstr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-05-26 20:17:12 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-26 20:17:12 +0000
commit2692067a45e4cb4ce0028e170673f2b2f5039721 (patch)
tree19b10f28c74700113729a7ae6861c734e8bfab01 /libavformat/psxstr.c
parent4aa606ec179a7df514fe5839b7ab5e24b42145b8 (diff)
AVPacket.pos
Originally committed as revision 4314 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/psxstr.c')
-rw-r--r--libavformat/psxstr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c
index eca6316f6c..c8c3b2915a 100644
--- a/libavformat/psxstr.c
+++ b/libavformat/psxstr.c
@@ -283,6 +283,7 @@ static int str_read_packet(AVFormatContext *s,
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;