Revision a2704c97 libavformat/pva.c

View differences:

libavformat/pva.c
73 73
    int64_t pva_pts = AV_NOPTS_VALUE, startpos;
74 74

  
75 75
recover:
76
    startpos = url_ftell(pb);
76
    startpos = avio_tell(pb);
77 77

  
78 78
    syncword = avio_rb16(pb);
79 79
    streamid = avio_r8(pb);
......
190 190
            continue;
191 191
        }
192 192
        if (streamid - 1 != stream_index || res == AV_NOPTS_VALUE) {
193
            *pos = url_ftell(pb) + length;
193
            *pos = avio_tell(pb) + length;
194 194
            continue;
195 195
        }
196 196
        break;

Also available in: Unified diff