[FFmpeg-devel] [PATCH] WMA Lossless: reset channel residues between subframes

Mashiat Sarker Shakkhar mashiat.sarker at gmail.com
Thu Apr 12 12:14:12 CEST 2012


On 4/12/2012 2:36 PM, Benjamin Larsson wrote:
> On 04/12/2012 12:24 AM, Jakub Stachowski wrote:
>> Hello
>>
>> Attached patch fixes bug #1055. It causes channel residues to be reset
>> to 0 if they are not decoded from bitstream (is_channel_coded==0).
>> Without the patch, residues from last decoded subframe would be used,
>> which causes bursts of random noise in silent part of some files.
>> I am not sure if channel residues should not be reset in case of raw
>> pcm tiles, however I don't have any test file for that.
>
> Sounds ok. But Mashiat should look at it also.

I don't really have anything to add. According to Jakub it fixes a bug, 
and looks intuitive.

Shakkhar


More information about the ffmpeg-devel mailing list