diff options
author | Zane van Iperen <zane@zanevaniperen.com> | 2020-08-10 08:37:47 +1000 |
---|---|---|
committer | Zane van Iperen <zane@zanevaniperen.com> | 2020-08-11 08:50:26 +1000 |
commit | a3e982178734095318dd31971b98b9ed1a1aa682 (patch) | |
tree | 116697c91058a04718664e98c49574b3afb2eab8 | |
parent | 97aaa15089c2a0e92b4336aeca7b7ae1b5516b57 (diff) | |
download | ffmpeg-a3e982178734095318dd31971b98b9ed1a1aa682.tar.gz |
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>
-rw-r--r-- | libavformat/argo_asf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c index 94d3ae3e09..bb69b01ff4 100644 --- a/libavformat/argo_asf.c +++ b/libavformat/argo_asf.c @@ -136,13 +136,6 @@ static int argo_asf_read_header(AVFormatContext *s) 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) { return AVERROR_INVALIDDATA; } else if (asf->fhdr.num_chunks > 1) { |