From e536ccd653d583f1920cd993c4f40b61b1a053f3 Mon Sep 17 00:00:00 2001
From: Aurelien Jacobs <aurel@gnuage.org>
Date: Mon, 15 Mar 2010 00:19:22 +0000
Subject: [PATCH] matroskadec: use more appropriate error code

Originally committed as revision 22535 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/matroskadec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index b4b6d5cf9f7..1e646fc5591 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -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);
 
-- 
GitLab