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

Michael Niedermayer michaelni at gmx.at
Thu Apr 12 12:46:32 CEST 2012


On Thu, Apr 12, 2012 at 04:14:12PM +0600, Mashiat Sarker Shakkhar wrote:
> 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.

patch applied

thanks to all

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120412/30c5ee18/attachment.asc>


More information about the ffmpeg-devel mailing list