]> git.sesse.net Git - ffmpeg/commit
avformat/argo_brp: allow v1.1 ASF streams to have a non-22050 sample rate in certain...
authorZane van Iperen <zane@zanevaniperen.com>
Fri, 25 Sep 2020 12:25:42 +0000 (22:25 +1000)
committerZane van Iperen <zane@zanevaniperen.com>
Sat, 26 Sep 2020 23:11:36 +0000 (09:11 +1000)
commit3ffb15a105f88544b6b93bb32c9ac9f62b90f456
tree799e92d7dee5dc2acf45166ed701345c4f42da88
parent97efac3ac11a3a6f799f1e32e5eb49e50e0d5042
avformat/argo_brp: allow v1.1 ASF streams to have a non-22050 sample rate in certain circumstances

It seems that in files where the BASF block isn't first, v1.1 ASF streams are
allowed to be non-22050. Either this format is really inconsistent, or
FX Fighter and Croc just ignored the sample rate field, requiring the v1.1
restriction in the first place.

This bumps the version to 1.2 in these streams so they're not "corrected".

Found in Alien Odyssey games files in:
./GRAPHICS/COMMBUNK/{{COMADD1,COMM2_{1,2,3E},COMM3_{2,3,4,5,6}},FADE{1,2}}.BRP

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
libavformat/argo_brp.c