1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 21:55:57 +03:00

Merge pull request #780 from wader/avi-even-better-sample-size-heuristics

avi: Increase sample size heuristics to 32bit stereo
This commit is contained in:
Mattias Wadman 2023-10-08 10:51:12 +02:00 committed by GitHub
commit a9051e8c5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -575,8 +575,8 @@ func aviDecode(d *decode.D) any {
}
subSampleSize := int64(stream.sampleSize) * 8
// TODO: <= no format and <= 4*8 heuristics to not create separate pcm samples
if subSampleSize == 0 || (!stream.hasFormat && subSampleSize <= 4*8) {
// TODO: <= no format and <= 8*8 heuristics to not create separate pcm samples
if subSampleSize == 0 || (!stream.hasFormat && subSampleSize <= 8*8) {
subSampleSize = sr.Len
}