matroskadec: use more appropriate error code
Originally committed as revision 22535 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e4a9e3cc7c
commit
e536ccd653
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user