Revision 75a8e0f0

View differences:

libavformat/avio.h
477 477
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence);
478 478

  
479 479
/**
480
 * Skip given number of bytes forward
481
 * @return new position or AVERROR.
482
 */
483
int64_t avio_skip(AVIOContext *s, int64_t offset);
484

  
485
/**
480 486
 * ftell() equivalent for AVIOContext.
481 487
 * @return position or AVERROR.
482 488
 */
libavformat/aviobuf.c
233 233
    return offset;
234 234
}
235 235

  
236
int64_t avio_skip(AVIOContext *s, int64_t offset)
237
{
238
    return avio_seek(s, offset, SEEK_CUR);
239
}
240

  
236 241
#if FF_API_OLD_AVIO
237 242
int url_fskip(AVIOContext *s, int64_t offset)
238 243
{

Also available in: Unified diff