diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-07-20 08:05:27 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-07-20 08:05:27 +0000 |
commit | 9510da2bcaf03a6f0019850772df9332d614cd28 (patch) | |
tree | c6ff7c83ad786762fb724e3e30d5fc20a856febe /libavformat/vocenc.c | |
parent | 7889f52890f7562de96a5b5ccf208832bb05f128 (diff) | |
download | ffmpeg-9510da2bcaf03a6f0019850772df9332d614cd28.tar.gz |
Replace ENOSYS by ENOTSUP as in this case the problem is not really a function
which is not available, but a media type which is not supported.
Originally committed as revision 9768 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/vocenc.c')
-rw-r--r-- | libavformat/vocenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c index 12ca34cac4..988533d061 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(ENOSYS); + return AVERROR(ENOTSUP); put_buffer(pb, voc_magic, sizeof(voc_magic) - 1); put_le16(pb, header_size); |