changeset 2382:863ea27be885 libavformat

Use AVERROR_PATCHWELCOME instead of AVERROR(ENOTSUP)
author ramiro
date Mon, 13 Aug 2007 22:55:44 +0000
parents b82cc57b0a1c
children 4cd9594b588d
files vocenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vocenc.c	Mon Aug 13 08:33:03 2007 +0000
+++ b/vocenc.c	Mon Aug 13 22:55:44 2007 +0000
@@ -34,7 +34,7 @@
 
     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);