[FFmpeg-devel] [PATCH] alac: validate k before using show_bits in decode_scalar
Michael Niedermayer
michaelni at gmx.at
Thu Apr 23 16:37:49 CEST 2015
On Wed, Apr 22, 2015 at 06:24:54PM +0200, Andreas Cadhalpun wrote:
> The k != 1 case calls show_bits(gb, k), which doesn't make sense if k
> is 0.
i dont think k = 0 is allowed
i suggest you check rice_limit when it is set, i assume that is the
source of k=0
asking for a sample with rice_limit=0 if it occurs is also a good idea
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150423/b194c66e/attachment.asc>
More information about the ffmpeg-devel
mailing list