duration = avio_rb32(pb); // in msec
- while (!url_feof(pb)) {
+ while (!avio_feof(pb)) {
htype = avio_rl32(pb);
switch (htype) {
case SMJPEG_TXT:
int64_t pos;
int ret;
- if (url_feof(s->pb))
+ if (avio_feof(s->pb))
return AVERROR_EOF;
pos = avio_tell(s->pb);
dtype = avio_rl32(s->pb);