Revision a2704c97 libavformat/flic.c

View differences:

libavformat/flic.c
223 223
            }
224 224
            pkt->stream_index = flic->video_stream_index;
225 225
            pkt->pts = flic->frame_number++;
226
            pkt->pos = url_ftell(pb);
226
            pkt->pos = avio_tell(pb);
227 227
            memcpy(pkt->data, preamble, FLIC_PREAMBLE_SIZE);
228 228
            ret = avio_read(pb, pkt->data + FLIC_PREAMBLE_SIZE,
229 229
                size - FLIC_PREAMBLE_SIZE);
......
242 242
            avio_seek(pb, 10, SEEK_CUR);
243 243

  
244 244
            pkt->stream_index = flic->audio_stream_index;
245
            pkt->pos = url_ftell(pb);
245
            pkt->pos = avio_tell(pb);
246 246
            ret = avio_read(pb, pkt->data, size);
247 247

  
248 248
            if (ret != size) {

Also available in: Unified diff