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:
commit
a9051e8c5a
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user