Mercurial > libavformat.hg
comparison vocdec.c @ 2274:b21c2af60bc9 libavformat
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
author | takis |
---|---|
date | Thu, 19 Jul 2007 15:23:32 +0000 |
parents | 7eb456c4ed8a |
children | 3c1e2d519277 |
comparison
equal
deleted
inserted
replaced
2273:7eb456c4ed8a | 2274:b21c2af60bc9 |
---|---|
71 int channels = 1; | 71 int channels = 1; |
72 | 72 |
73 while (!voc->remaining_size) { | 73 while (!voc->remaining_size) { |
74 type = get_byte(pb); | 74 type = get_byte(pb); |
75 if (type == VOC_TYPE_EOF) | 75 if (type == VOC_TYPE_EOF) |
76 return AVERROR_IO; | 76 return AVERROR(EIO); |
77 voc->remaining_size = get_le24(pb); | 77 voc->remaining_size = get_le24(pb); |
78 max_size -= 4; | 78 max_size -= 4; |
79 | 79 |
80 switch (type) { | 80 switch (type) { |
81 case VOC_TYPE_VOICE_DATA: | 81 case VOC_TYPE_VOICE_DATA: |