From 0bd586c50dc27ec38ca94e58f50030544d729463 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sat, 19 Jun 2004 03:59:34 +0000 Subject: sweeping change from -EIO -> AVERROR_IO Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/dv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/dv.c') diff --git a/libavformat/dv.c b/libavformat/dv.c index 8b029eb0e2..0de099620b 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -850,11 +850,11 @@ static int dv_read_packet(AVFormatContext *s, AVPacket *pkt) if (size < 0) { if (get_buffer(&s->pb, c->buf, 4) <= 0) - return -EIO; + return AVERROR_IO; size = dv_frame_profile(c->buf)->frame_size; if (get_buffer(&s->pb, c->buf + 4, size - 4) <= 0) - return -EIO; + return AVERROR_IO; size = dv_produce_packet(c->dv_demux, pkt, c->buf, size); } -- cgit v1.2.1