diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-27 22:30:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-27 22:30:07 +0200 |
commit | 7a2c380e93f8ee2469942ffe00e71906fa92375f (patch) | |
tree | 79ec5782684308107c5b999bccae854c21c72967 /libavformat/aviobuf.c | |
parent | 5403a288a7fae455044d1d937bbf502031915fb4 (diff) | |
download | ffmpeg-7a2c380e93f8ee2469942ffe00e71906fa92375f.tar.gz |
avformat/aviobuf: remove uses of deprecated url_feof()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 946f249cf1..9795ba46df 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -555,7 +555,7 @@ int avio_read(AVIOContext *s, unsigned char *buf, int size) } if (size1 == size) { if (s->error) return s->error; - if (url_feof(s)) return AVERROR_EOF; + if (avio_feof(s)) return AVERROR_EOF; } return size1 - size; } @@ -604,7 +604,7 @@ int ffio_read_partial(AVIOContext *s, unsigned char *buf, int size) s->buf_ptr += len; if (!len) { if (s->error) return s->error; - if (url_feof(s)) return AVERROR_EOF; + if (avio_feof(s)) return AVERROR_EOF; } return len; } |