aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/lrcdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-08-07 17:12:41 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-08-08 00:48:38 +0200
commitd34ec64a22907173c13e687b815d94618d2dc85b (patch)
treed53c26525699660773d9457d65ca980c21823351 /libavformat/lrcdec.c
parent5c3c67126feb046e25359096225507bf6dfe7b27 (diff)
downloadffmpeg-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/lrcdec.c')
-rw-r--r--libavformat/lrcdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/lrcdec.c b/libavformat/lrcdec.c
index 3b02e3492a..df61853d2b 100644
--- a/libavformat/lrcdec.c
+++ b/libavformat/lrcdec.c
@@ -104,7 +104,7 @@ static int64_t read_line(AVBPrint *buf, AVIOContext *pb)
int64_t pos = avio_tell(pb);
av_bprint_clear(buf);
- while(!url_feof(pb)) {
+ while(!avio_feof(pb)) {
int c = avio_r8(pb);
if(c != '\r') {
av_bprint_chars(buf, c, 1);
@@ -169,7 +169,7 @@ static int lrc_read_header(AVFormatContext *s)
st->codec->codec_id = AV_CODEC_ID_TEXT;
av_bprint_init(&line, 0, AV_BPRINT_SIZE_UNLIMITED);
- while(!url_feof(s->pb)) {
+ while(!avio_feof(s->pb)) {
int64_t pos = read_line(&line, s->pb);
int64_t header_offset = find_header(line.str);
if(header_offset >= 0) {