summaryrefslogtreecommitdiff
path: root/libavformat/vocenc.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-08-13 22:55:44 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-08-13 22:55:44 +0000
commit9c0edaaf1359b4eeb26870c74c3a00dfd026de67 (patch)
tree7a0faeba350eb0e49f8f9515a42be74f01e53a42 /libavformat/vocenc.c
parentf3a3c72e3c64551e25d160b3495e633360dbc5a9 (diff)
downloadffmpeg-9c0edaaf1359b4eeb26870c74c3a00dfd026de67.tar.gz
Use AVERROR_PATCHWELCOME instead of AVERROR(ENOTSUP)
Originally committed as revision 10111 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/vocenc.c')
-rw-r--r--libavformat/vocenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c
index 988533d061..ae1ef90ed8 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(ENOTSUP);
+ return AVERROR_PATCHWELCOME;
put_buffer(pb, voc_magic, sizeof(voc_magic) - 1);
put_le16(pb, header_size);