Revision a2704c97 libavformat/avio.h

View differences:

libavformat/avio.h
422 422
attribute_deprecated int url_fclose(AVIOContext *s);
423 423
attribute_deprecated int64_t url_fseek(AVIOContext *s, int64_t offset, int whence);
424 424
attribute_deprecated int url_fskip(AVIOContext *s, int64_t offset);
425
attribute_deprecated int64_t url_ftell(AVIOContext *s);
425 426
/**
426 427
 * @}
427 428
 */
......
473 474
 * ftell() equivalent for AVIOContext.
474 475
 * @return position or AVERROR.
475 476
 */
476
int64_t url_ftell(AVIOContext *s);
477
#define avio_tell(s) avio_seek((s), 0, SEEK_CUR)
477 478

  
478 479
/**
479 480
 * Get the filesize.

Also available in: Unified diff