Revision f59d8ff8 libavformat/aviobuf.c

View differences:

libavformat/aviobuf.c
176 176
    s->must_flush = 0;
177 177
}
178 178

  
179
int64_t url_fseek(AVIOContext *s, int64_t offset, int whence)
179
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
180 180
{
181 181
    int64_t offset1;
182 182
    int64_t pos;
......
235 235

  
236 236
int url_fskip(AVIOContext *s, int64_t offset)
237 237
{
238
    int64_t ret = url_fseek(s, offset, SEEK_CUR);
238
    int64_t ret = avio_seek(s, offset, SEEK_CUR);
239 239
    return ret < 0 ? ret : 0;
240 240
}
241 241

  
242 242
int64_t url_ftell(AVIOContext *s)
243 243
{
244
    return url_fseek(s, 0, SEEK_CUR);
244
    return avio_seek(s, 0, SEEK_CUR);
245 245
}
246 246

  
247 247
int64_t url_fsize(AVIOContext *s)
......
365 365
{
366 366
    return avio_close(s);
367 367
}
368
int64_t url_fseek(AVIOContext *s, int64_t offset, int whence)
369
{
370
    return avio_seek(s, offset, whence);
371
}
368 372
#endif
369 373

  
370 374
int avio_put_str(AVIOContext *s, const char *str)

Also available in: Unified diff