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/dsicin.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/dsicin.c')
-rw-r--r-- | libavformat/dsicin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dsicin.c b/libavformat/dsicin.c index 7030491992..023441be73 100644 --- a/libavformat/dsicin.c +++ b/libavformat/dsicin.c @@ -147,7 +147,7 @@ static int cin_read_frame_header(CinDemuxContext *cin, AVIOContext *pb) { hdr->video_frame_size = avio_rl32(pb); hdr->audio_frame_size = avio_rl32(pb); - if (pb->eof_reached || url_ferror(pb)) + if (pb->eof_reached || pb->error) return AVERROR(EIO); if (avio_rl32(pb) != 0xAA55AA55) |