aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/soxdec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-13 19:19:44 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-13 19:19:44 +0000
commit5ae092ee34bd8a174306abdd5cd8bf6eea4a2f8e (patch)
tree3934504fcfafd53f9c045fc0cf5b710bb8ee63f9 /libavformat/soxdec.c
parent0edfa79b23163be51d3ee1678f5ff87b5207f636 (diff)
downloadffmpeg-5ae092ee34bd8a174306abdd5cd8bf6eea4a2f8e.tar.gz
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
Diffstat (limited to 'libavformat/soxdec.c')
-rw-r--r--libavformat/soxdec.c2
1 files changed, 1 insertions, 1 deletions
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;