[FFmpeg-cvslog] avformat/aviobuf: remove uses of deprecated url_feof()

Michael Niedermayer git at videolan.org
Wed Aug 27 22:52:08 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Aug 27 22:30:07 2014 +0200| [7a2c380e93f8ee2469942ffe00e71906fa92375f] | committer: Michael Niedermayer

avformat/aviobuf: remove uses of deprecated url_feof()

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7a2c380e93f8ee2469942ffe00e71906fa92375f
---

 libavformat/aviobuf.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 946f249..9795ba4 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -555,7 +555,7 @@ int avio_read(AVIOContext *s, unsigned char *buf, int size)
     }
     if (size1 == size) {
         if (s->error)      return s->error;
-        if (url_feof(s))   return AVERROR_EOF;
+        if (avio_feof(s))  return AVERROR_EOF;
     }
     return size1 - size;
 }
@@ -604,7 +604,7 @@ int ffio_read_partial(AVIOContext *s, unsigned char *buf, int size)
     s->buf_ptr += len;
     if (!len) {
         if (s->error)      return s->error;
-        if (url_feof(s))   return AVERROR_EOF;
+        if (avio_feof(s))  return AVERROR_EOF;
     }
     return len;
 }



More information about the ffmpeg-cvslog mailing list