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/soxdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/soxdec.c') diff --git a/libavformat/soxdec.c b/libavformat/soxdec.c index ceaedec293..0151efebc1 100644 --- a/libavformat/soxdec.c +++ b/libavformat/soxdec.c @@ -97,7 +97,7 @@ static int sox_read_header(AVFormatContext *s, char *comment = av_malloc(comment_size+1); if (get_buffer(pb, comment, comment_size) != comment_size) { av_freep(&comment); - return AVERROR_IO; + return AVERROR(EIO); } comment[comment_size] = 0; -- cgit v1.2.3