summaryrefslogtreecommitdiff
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-03-15 00:19:22 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-03-15 00:19:22 +0000
commite536ccd653d583f1920cd993c4f40b61b1a053f3 (patch)
treefd91d48d208cd774eff894919e2e1eaeff0bb827 /libavformat/matroskadec.c
parente4a9e3cc7cc2a93a8ef666af89cd6885709ff7e0 (diff)
matroskadec: use more appropriate error code
Originally committed as revision 22535 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r--libavformat/matroskadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index b4b6d5cf9f..1e646fc559 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);