diff options
Diffstat (limited to 'libavformat/psxstr.c')
-rw-r--r-- | libavformat/psxstr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c index eca6316..c8c3b29 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; |