Browse code

avformat/aviobuf: remove uses of deprecated url_feof()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2014/08/28 05:30:07
Showing 1 changed files
... ...
@@ -555,7 +555,7 @@ int avio_read(AVIOContext *s, unsigned char *buf, int size)
555 555
     }
556 556
     if (size1 == size) {
557 557
         if (s->error)      return s->error;
558
-        if (url_feof(s))   return AVERROR_EOF;
558
+        if (avio_feof(s))  return AVERROR_EOF;
559 559
     }
560 560
     return size1 - size;
561 561
 }
... ...
@@ -604,7 +604,7 @@ int ffio_read_partial(AVIOContext *s, unsigned char *buf, int size)
604 604
     s->buf_ptr += len;
605 605
     if (!len) {
606 606
         if (s->error)      return s->error;
607
-        if (url_feof(s))   return AVERROR_EOF;
607
+        if (avio_feof(s))  return AVERROR_EOF;
608 608
     }
609 609
     return len;
610 610
 }