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/asfdec.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/asfdec.c')
-rw-r--r-- | libavformat/asfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 10d34499c7..cbcd576c9f 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -743,7 +743,7 @@ static int ff_asf_get_packet(AVFormatContext *s, AVIOContext *pb) * imply complete -EAGAIN handling support at random positions in * the stream. */ - if (url_ferror(pb) == AVERROR(EAGAIN)) + if (pb->error == AVERROR(EAGAIN)) return AVERROR(EAGAIN); if (!pb->eof_reached) av_log(s, AV_LOG_ERROR, "ff asf bad header %x at:%"PRId64"\n", c, avio_tell(pb)); |