Revision 364cacc7 libavformat/aviobuf.c

View differences:

libavformat/aviobuf.c
36 36
#define SHORT_SEEK_THRESHOLD 4096
37 37

  
38 38
static void fill_buffer(ByteIOContext *s);
39
#if LIBAVFORMAT_VERSION_MAJOR >= 53
39
#if !FF_API_URL_RESETBUF
40 40
static int url_resetbuf(ByteIOContext *s, int flags);
41 41
#endif
42 42

  
......
632 632
    return 0;
633 633
}
634 634

  
635
#if LIBAVFORMAT_VERSION_MAJOR < 53
635
#if FF_API_URL_RESETBUF
636 636
int url_resetbuf(ByteIOContext *s, int flags)
637 637
#else
638 638
static int url_resetbuf(ByteIOContext *s, int flags)
639 639
#endif
640 640
{
641
#if LIBAVFORMAT_VERSION_MAJOR < 53
641
#if FF_API_URL_RESETBUF
642 642
    if (flags & URL_RDWR)
643 643
        return AVERROR(EINVAL);
644 644
#else

Also available in: Unified diff