aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/vocdec.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 15:38:33 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 15:38:33 +0000
commit85565db0f8b85dc2bb2df2e788be1918eda3ed04 (patch)
treee6d75e608a581441da9c3670608093e71d02265c /libavformat/vocdec.c
parent5632e568c041ee2d6db8d963280b433b3f0c0b80 (diff)
downloadffmpeg-85565db0f8b85dc2bb2df2e788be1918eda3ed04.tar.gz
Replace all occurrences of AVERROR_NOTSUPP with AVERROR(ENOSYS).
Originally committed as revision 9763 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 d7aa2d3d93..590a9173bc 100644
--- a/libavformat/vocdec.c
+++ b/libavformat/vocdec.c
@@ -47,7 +47,7 @@ static int voc_read_header(AVFormatContext *s, AVFormatParameters *ap)
header_size = get_le16(pb) - 22;
if (header_size != 4) {
av_log(s, AV_LOG_ERROR, "unknown header size: %d\n", header_size);
- return AVERROR_NOTSUPP;
+ return AVERROR(ENOSYS);
}
url_fskip(pb, header_size);
st = av_new_stream(s, 0);