diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c index 988533d0610eea78e6ee3d2e7ab99b2028a71d47..ae1ef90ed852608217eb60228d8edcfd39c77ace 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);