if (!vst && !myth)
return 1; // no codec data needed
- while (!url_feof(pb)) {
+ while (!avio_feof(pb)) {
int size, subtype;
frametype = avio_r8(pb);
nuv_frametype frametype;
int ret, size;
- while (!url_feof(pb)) {
+ while (!avio_feof(pb)) {
int copyhdrsize = ctx->rtjpg_video ? HDRSIZE : 0;
uint64_t pos = avio_tell(pb);
static int nuv_resync(AVFormatContext *s, int64_t pos_limit) {
AVIOContext *pb = s->pb;
uint32_t tag = 0;
- while(!url_feof(pb) && avio_tell(pb) < pos_limit) {
+ while(!avio_feof(pb) && avio_tell(pb) < pos_limit) {
tag = (tag << 8) | avio_r8(pb);
if (tag == MKBETAG('R','T','j','j') &&
(tag = avio_rb32(pb)) == MKBETAG('j','j','j','j') &&
if (!nuv_resync(s, pos_limit))
return AV_NOPTS_VALUE;
- while (!url_feof(pb) && avio_tell(pb) < pos_limit) {
+ while (!avio_feof(pb) && avio_tell(pb) < pos_limit) {
if (avio_read(pb, hdr, HDRSIZE) < HDRSIZE)
return AV_NOPTS_VALUE;
frametype = hdr[0];