Revision f59d8ff8 libavformat/tta.c

View differences:

libavformat/tta.c
106 106
        return -1;
107 107
    }
108 108
    st->codec->extradata = av_mallocz(st->codec->extradata_size+FF_INPUT_BUFFER_PADDING_SIZE);
109
    url_fseek(s->pb, start_offset, SEEK_SET);
109
    avio_seek(s->pb, start_offset, SEEK_SET);
110 110
    avio_read(s->pb, st->codec->extradata, st->codec->extradata_size);
111 111

  
112 112
    return 0;
......
138 138
        return -1;
139 139

  
140 140
    c->currentframe = index;
141
    url_fseek(s->pb, st->index_entries[index].pos, SEEK_SET);
141
    avio_seek(s->pb, st->index_entries[index].pos, SEEK_SET);
142 142

  
143 143
    return 0;
144 144
}

Also available in: Unified diff