[FFmpeg-devel] [PATCH] Correctly update output sample format in wavpack decoder.

Kostya kostya.shishkov
Sun Apr 26 06:18:30 CEST 2009


On Sat, Apr 25, 2009 at 03:49:54PM +0200, Laurent Aimar wrote:
> Hi,
> 
>  I have attached a patch that:
>  - allows to be independant of bits_per_coded_sample (which can be
>  corrupted anyway).
>  - avoid negative shift in case of unset/invalid bits_per_coded_sample
>  or corrupted bitstream.
> 
>  It will also help me when I submit wavpack float support.
> 
>  In case bits_per_coded_sample is reliable and set before openning the
> codec, the old behaviour is unchanged.

Applied.
 
> -- 
> fenrir



More information about the ffmpeg-devel mailing list