Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-14 22:38:55 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-15 15:04:28 +0300
commit3e68b3ba7b015cf2154ad2023781eedd47f0f4bb (patch)
treee8bb2171e7b2131883024b901941343998b84c07 /libavformat/mxg.c
parent75b9ed04b977bfd467816f7e60c6511ef89b8a2b (diff)
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.c2
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);