Commit e536ccd6 authored by Aurelien Jacobs's avatar Aurelien Jacobs
Browse files

matroskadec: use more appropriate error code

Originally committed as revision 22535 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e4a9e3cc
...@@ -1144,7 +1144,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -1144,7 +1144,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap)
"EBML header using unsupported features\n" "EBML header using unsupported features\n"
"(EBML version %"PRIu64", doctype %s, doc version %"PRIu64")\n", "(EBML version %"PRIu64", doctype %s, doc version %"PRIu64")\n",
ebml.version, ebml.doctype, ebml.doctype_version); ebml.version, ebml.doctype, ebml.doctype_version);
return AVERROR_NOFMT; return AVERROR_PATCHWELCOME;
} }
ebml_free(ebml_syntax, &ebml); ebml_free(ebml_syntax, &ebml);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment