aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/vocdec.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 15:23:32 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 15:23:32 +0000
commit6f3e0b21748b53fd7b0471196bbda1d7e561f4fe (patch)
tree5130d5b49907a72bf1f16c7861ec3b891a3708e4 /libavformat/vocdec.c
parent769e10f0684c63aefb6fe36788f3e543312e185d (diff)
downloadffmpeg-6f3e0b21748b53fd7b0471196bbda1d7e561f4fe.tar.gz
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/vocdec.c')
-rw-r--r--libavformat/vocdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vocdec.c b/libavformat/vocdec.c
index 58f79d73c6..d7aa2d3d93 100644
--- a/libavformat/vocdec.c
+++ b/libavformat/vocdec.c
@@ -73,7 +73,7 @@ voc_get_packet(AVFormatContext *s, AVPacket *pkt, AVStream *st, int max_size)
while (!voc->remaining_size) {
type = get_byte(pb);
if (type == VOC_TYPE_EOF)
- return AVERROR_IO;
+ return AVERROR(EIO);
voc->remaining_size = get_le24(pb);
max_size -= 4;