avformat/argo_asf: don't check file version

It has no bearing on structure. Determined by looking at the ASF
files from several Argonaut games:
  - FX Fighter,
  - Croc,
  - Croc 2,
  - The Emperor's New Groove, and
  - Disney's Aladdin in Nasira's Revenge

The only versions that appear are 1.1, 1.2, and 2.1, and their
structure is identical.

Reviewed-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
This commit is contained in:
Zane van Iperen 2020-08-10 08:37:47 +10:00
parent 97aaa15089
commit a3e9821787
No known key found for this signature in database
GPG Key ID: 68616B2D8AC4DCC5
1 changed files with 0 additions and 7 deletions

View File

@ -136,13 +136,6 @@ static int argo_asf_read_header(AVFormatContext *s)
argo_asf_parse_file_header(&asf->fhdr, buf); argo_asf_parse_file_header(&asf->fhdr, buf);
if (!argo_asf_is_known_version(&asf->fhdr)) {
avpriv_request_sample(s, "Version %hu.%hu",
asf->fhdr.version_major, asf->fhdr.version_minor
);
return AVERROR_PATCHWELCOME;
}
if (asf->fhdr.num_chunks == 0) { if (asf->fhdr.num_chunks == 0) {
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} else if (asf->fhdr.num_chunks > 1) { } else if (asf->fhdr.num_chunks > 1) {