From 5ae092ee34bd8a174306abdd5cd8bf6eea4a2f8e Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 13 Mar 2010 19:19:44 +0000 Subject: Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and mark AVERROR_EIO for deletion at the next major bump. Originally committed as revision 22513 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/flacdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/flacdec.c') diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c index 495fa2b4a0..e8c9c87ad8 100644 --- a/libavformat/flacdec.c +++ b/libavformat/flacdec.c @@ -70,7 +70,7 @@ static int flac_read_header(AVFormatContext *s, } if (get_buffer(s->pb, buffer, metadata_size) != metadata_size) { av_freep(&buffer); - return AVERROR_IO; + return AVERROR(EIO); } break; /* skip metadata block for unsupported types */ -- cgit v1.2.3