Revision a2704c97 libavformat/nsvdec.c

View differences:

libavformat/nsvdec.c
225 225
    uint32_t v = 0;
226 226
    int i;
227 227

  
228
    av_dlog(s, "%s(), offset = %"PRId64", state = %d\n", __FUNCTION__, url_ftell(pb), nsv->state);
228
    av_dlog(s, "%s(), offset = %"PRId64", state = %d\n", __FUNCTION__, avio_tell(pb), nsv->state);
229 229

  
230 230
    //nsv->state = NSV_UNSYNC;
231 231

  
......
299 299
    if (url_feof(pb))
300 300
        return -1;
301 301

  
302
    av_dlog(s, "NSV got header; filepos %"PRId64"\n", url_ftell(pb));
302
    av_dlog(s, "NSV got header; filepos %"PRId64"\n", avio_tell(pb));
303 303

  
304 304
    if (strings_size > 0) {
305 305
        char *strings; /* last byte will be '\0' to play safe with str*() */
......
334 334
    if (url_feof(pb))
335 335
        return -1;
336 336

  
337
    av_dlog(s, "NSV got infos; filepos %"PRId64"\n", url_ftell(pb));
337
    av_dlog(s, "NSV got infos; filepos %"PRId64"\n", avio_tell(pb));
338 338

  
339 339
    if (table_entries_used > 0) {
340 340
        int i;
......
355 355
        }
356 356
    }
357 357

  
358
    av_dlog(s, "NSV got index; filepos %"PRId64"\n", url_ftell(pb));
358
    av_dlog(s, "NSV got index; filepos %"PRId64"\n", avio_tell(pb));
359 359

  
360 360
#ifdef DEBUG_DUMP_INDEX
361 361
#define V(v) ((v<0x20 || v > 127)?'.':v)

Also available in: Unified diff