From 85565db0f8b85dc2bb2df2e788be1918eda3ed04 Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Thu, 19 Jul 2007 15:38:33 +0000 Subject: Replace all occurrences of AVERROR_NOTSUPP with AVERROR(ENOSYS). Originally committed as revision 9763 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/vocenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/vocenc.c') diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c index 7ef96bfede..12ca34cac4 100644 --- a/libavformat/vocenc.c +++ b/libavformat/vocenc.c @@ -34,7 +34,7 @@ static int voc_write_header(AVFormatContext *s) if (s->nb_streams != 1 || s->streams[0]->codec->codec_type != CODEC_TYPE_AUDIO) - return AVERROR_NOTSUPP; + return AVERROR(ENOSYS); put_buffer(pb, voc_magic, sizeof(voc_magic) - 1); put_le16(pb, header_size); -- cgit v1.2.3