[typefind/dcaparse] fix DTS frame size for 14-bits packed streams
@rawoul
Submitted by Arnaud Vrac Link to original bug (#697111)
Description
DTS frame size is scaled by 16/14 when parsing 14-bits packed streams, but the header raw value should be used instead. The patches should make DTS SYNC word detection more reliable and should also allow passthrough of DTS audio CDs to work for 14-bits packed stream. Unfortunately I don't have an SPDIF output so I can't test.
I've verified the right frame size is extracted with DTS certication files, I've uploaded one here:
url=http://absolut.zogzog.org/share/samples/wav/Track33%20DTS-CD%2014-Bit%201024Framsize.wav
Version: 1.x