diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-14 20:38:55 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-15 08:04:28 -0400 |
commit | 3e68b3ba7b015cf2154ad2023781eedd47f0f4bb (patch) | |
tree | e8bb2171e7b2131883024b901941343998b84c07 /libavformat/mxg.c | |
parent | 75b9ed04b977bfd467816f7e60c6511ef89b8a2b (diff) | |
download | ffmpeg-3e68b3ba7b015cf2154ad2023781eedd47f0f4bb.tar.gz |
avio: deprecate url_ferror
AVIOContext.error should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/mxg.c')
-rw-r--r-- | libavformat/mxg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxg.c b/libavformat/mxg.c index 3a71b22054..7d342f1766 100644 --- a/libavformat/mxg.c +++ b/libavformat/mxg.c @@ -132,7 +132,7 @@ static int mxg_read_packet(AVFormatContext *s, AVPacket *pkt) uint8_t *startmarker_ptr, *end, *search_end, marker; MXGContext *mxg = s->priv_data; - while (!s->pb->eof_reached && !url_ferror(s->pb)){ + while (!s->pb->eof_reached && !s->pb->error){ if (mxg->cache_size <= OVERREAD_SIZE) { /* update internal buffer */ ret = mxg_update_cache(s, DEFAULT_PACKET_SIZE + OVERREAD_SIZE); |