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/brstm.c | |
parent | 5c3c67126feb046e25359096225507bf6dfe7b27 (diff) |
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/brstm.c')
-rw-r--r-- | libavformat/brstm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 8e4dae6f05..19a4a2a96b 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -181,7 +181,7 @@ static int read_header(AVFormatContext *s) } avio_skip(s->pb, size - (avio_tell(s->pb) - pos)); - while (!url_feof(s->pb)) { + while (!avio_feof(s->pb)) { chunk = avio_rl32(s->pb); size = avio_rb32(s->pb); if (size < 8) { @@ -244,7 +244,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) uint32_t samples, size; int ret; - if (url_feof(s->pb)) + if (avio_feof(s->pb)) return AVERROR_EOF; b->current_block++; if (b->current_block == b->block_count) { |