| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
When no codebook is used, huff_lsbs can be more than 24 and still decode to
original values once filters are applied.
Signed-off-by: Jai Luthra <me@jailuthra.in>
|
|
|
|
| |
Signed-off-by: Jai Luthra <me@jailuthra.in>
|
|
|
|
| |
Signed-off-by: Jai Luthra <me@jailuthra.in>
|
|
|
|
|
|
|
|
|
| |
* fix a possible memory leak (apply_filter returned before freeing)
* use apply_filters in process_major_frame
* revert back to checking bounds with 24 bitdepth, as huff offset takes
care of it
Signed-off-by: Jai Luthra <me@jailuthra.in>
|
|
|
|
|
|
| |
Fixes Coverity CID 1396239.
Signed-off-by: Jai Luthra <me@jailuthra.in>
|
|
|
|
|
|
|
| |
huff offset wasn't always within the bounds before, which lead to
corrupt encoding that didn't always trigger lossless check failures
Signed-off-by: Jai Luthra <me@jailuthra.in>
|
|
|
|
|
|
| |
we need two bits instead of one bit to represent -1 in bitstream
Signed-off-by: Jai Luthra <me@jailuthra.in>
|
|
|
|
|
|
| |
remove the redundant condition check for 'frame'
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
|
|
* Multichannel support for TrueHD is experimental
There should be downmix substreams present for 2+ channel bitstreams,
but ffmpeg decoder doesn't need it. Will add support for this soon.
* There might be lossless check failures on LFE channels
* 32-bit sample support has been removed for now, will add it later
While testing, some samples gave lossless check failures when enforcing
s32. Probably this will also get solved with the LFE issues.
Signed-off-by: Jai Luthra <me@jailuthra.in>
|