diff options
author | James Almer <jamrial@gmail.com> | 2014-08-07 17:12:41 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-08 00:48:38 +0200 |
commit | d34ec64a22907173c13e687b815d94618d2dc85b (patch) | |
tree | d53c26525699660773d9457d65ca980c21823351 /libavformat/wavdec.c | |
parent | 5c3c67126feb046e25359096225507bf6dfe7b27 (diff) | |
download | ffmpeg-d34ec64a22907173c13e687b815d94618d2dc85b.tar.gz |
replace calls to url_feof() with avio_feof()
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/wavdec.c')
-rw-r--r-- | libavformat/wavdec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index 1d77402418..7e0d5f48de 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -82,7 +82,7 @@ static int64_t find_tag(WAVDemuxContext * wav, AVIOContext *pb, uint32_t tag1) int64_t size; for (;;) { - if (url_feof(pb)) + if (avio_feof(pb)) return AVERROR_EOF; size = next_tag(pb, &tag); if (tag == tag1) @@ -291,7 +291,7 @@ static int wav_read_header(AVFormatContext *s) size = next_tag(pb, &tag); next_tag_ofs = avio_tell(pb) + size; - if (url_feof(pb)) + if (avio_feof(pb)) break; switch (tag) { @@ -434,7 +434,7 @@ static int64_t find_guid(AVIOContext *pb, const uint8_t guid1[16]) uint8_t guid[16]; int64_t size; - while (!url_feof(pb)) { + while (!avio_feof(pb)) { avio_read(pb, guid, 16); size = avio_rl64(pb); if (size <= 24) @@ -652,7 +652,7 @@ static int w64_read_header(AVFormatContext *s) if (!st) return AVERROR(ENOMEM); - while (!url_feof(pb)) { + while (!avio_feof(pb)) { if (avio_read(pb, guid, 16) != 16) break; size = avio_rl64(pb); @@ -692,7 +692,7 @@ static int w64_read_header(AVFormatContext *s) for (i = 0; i < count; i++) { char chunk_key[5], *value; - if (url_feof(pb) || (cur = avio_tell(pb)) < 0 || cur > end - 8 /* = tag + size */) + if (avio_feof(pb) || (cur = avio_tell(pb)) < 0 || cur > end - 8 /* = tag + size */) break; chunk_key[4] = 0; |