Revision 384c9c2f libavformat/mpc.c

View differences:

libavformat/mpc.c
94 94

  
95 95
    /* try to read APE tags */
96 96
    if (!url_is_streamed(s->pb)) {
97
        int64_t pos = url_ftell(s->pb);
97
        int64_t pos = avio_tell(s->pb);
98 98
        ff_ape_parse_tag(s);
99 99
        if (!av_metadata_get(s->metadata, "", NULL, AV_METADATA_IGNORE_SUFFIX))
100 100
            ff_id3v1_read(s);
......
120 120
    c->lastframe = c->curframe;
121 121
    c->curframe++;
122 122
    curbits = c->curbits;
123
    pos = url_ftell(s->pb);
123
    pos = avio_tell(s->pb);
124 124
    tmp = avio_rl32(s->pb);
125 125
    if(curbits <= 12){
126 126
        size2 = (tmp >> (12 - curbits)) & 0xFFFFF;

Also available in: Unified diff