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

Laurent Aimar fenrir
Sat Apr 25 15:49:54 CEST 2009


 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-wv0.patch
Type: text/x-diff
Size: 1699 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090425/1ccd4081/attachment.patch>

More information about the ffmpeg-devel mailing list