replace calls to url_feof() with avio_feof()
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
5c3c67126f
commit
d34ec64a22
@@ -220,7 +220,7 @@ static int mpc8_read_header(AVFormatContext *s)
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
while(!url_feof(pb)){
|
||||
while(!avio_feof(pb)){
|
||||
pos = avio_tell(pb);
|
||||
mpc8_get_chunk_header(pb, &tag, &size);
|
||||
if(tag == TAG_STREAMHDR)
|
||||
@@ -275,7 +275,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
int tag;
|
||||
int64_t pos, size;
|
||||
|
||||
while(!url_feof(s->pb)){
|
||||
while(!avio_feof(s->pb)){
|
||||
pos = avio_tell(s->pb);
|
||||
|
||||
/* don't return bogus packets with the ape tag data */
|
||||
|
||||
Reference in New Issue
Block a user