OSDN Git Service

matroskadec: use more appropriate error code
authorAurelien Jacobs <aurel@gnuage.org>
Mon, 15 Mar 2010 00:19:22 +0000 (00:19 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Mon, 15 Mar 2010 00:19:22 +0000 (00:19 +0000)
Originally committed as revision 22535 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/matroskadec.c

index b4b6d5c..1e646fc 100644 (file)
@@ -1144,7 +1144,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap)
                "EBML header using unsupported features\n"
                "(EBML version %"PRIu64", doctype %s, doc version %"PRIu64")\n",
                ebml.version, ebml.doctype, ebml.doctype_version);
-        return AVERROR_NOFMT;
+        return AVERROR_PATCHWELCOME;
     }
     ebml_free(ebml_syntax, &ebml);