diff options
Diffstat (limited to 'libavformat/c93.c')
-rw-r--r-- | libavformat/c93.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/c93.c b/libavformat/c93.c index 3e3cd9cb0f..84cf65c73e 100644 --- a/libavformat/c93.c +++ b/libavformat/c93.c @@ -140,13 +140,13 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) } if (c93->current_frame == 0) { - url_fseek(pb, br->index * 2048, SEEK_SET); + avio_seek(pb, br->index * 2048, SEEK_SET); for (i = 0; i < 32; i++) { c93->frame_offsets[i] = avio_rl32(pb); } } - url_fseek(pb,br->index * 2048 + + avio_seek(pb,br->index * 2048 + c93->frame_offsets[c93->current_frame], SEEK_SET); datasize = avio_rl16(pb); /* video frame size */ |