Revision 384c9c2f libavformat/psxstr.c

View differences:

libavformat/psxstr.c
186 186
                    if (av_new_packet(pkt, sector_count*VIDEO_DATA_CHUNK_SIZE))
187 187
                        return AVERROR(EIO);
188 188

  
189
                    pkt->pos= url_ftell(pb) - RAW_CD_SECTOR_SIZE;
189
                    pkt->pos= avio_tell(pb) - RAW_CD_SECTOR_SIZE;
190 190
                    pkt->stream_index =
191 191
                        str->channels[channel].video_stream_index;
192 192
                }

Also available in: Unified diff