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/rmdec.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/rmdec.c')
-rw-r--r-- | libavformat/rmdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 36764ee9b2..f53ab8c541 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -494,7 +494,7 @@ static int rm_read_header(AVFormatContext *s) avio_skip(pb, tag_size - 8); for(;;) { - if (url_feof(pb)) + if (avio_feof(pb)) return -1; tag = avio_rl32(pb); tag_size = avio_rb32(pb); @@ -601,7 +601,7 @@ static int sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stream_ AVStream *st; uint32_t state=0xFFFFFFFF; - while(!url_feof(pb)){ + while(!avio_feof(pb)){ int len, num, i; *pos= avio_tell(pb) - 3; if(rm->remaining_len > 0){ @@ -953,7 +953,7 @@ static int rm_read_packet(AVFormatContext *s, AVPacket *pkt) st = s->streams[i]; } - if(len<0 || url_feof(s->pb)) + if(len<0 || avio_feof(s->pb)) return AVERROR(EIO); res = ff_rm_parse_packet (s, s->pb, st, st->priv_data, len, pkt, |