Re: [FFmpeg-devel] [PATCH] wavpack: limit extra_bits to 32 and use get_bits_long

2015-07-02 Thread Andreas Cadhalpun
On 02.07.2015 23:20, Paul B Mahol wrote: > On 7/2/15, Andreas Cadhalpun wrote: >> More than 32 bits can't be stored in an integer and get_bits should not >> be used with more than 25 bits. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/wavpack.c | 8 ++-- >> 1 file changed, 6 in

Re: [FFmpeg-devel] [PATCH] wavpack: limit extra_bits to 32 and use get_bits_long

2015-07-02 Thread Paul B Mahol
On 7/2/15, Andreas Cadhalpun wrote: > More than 32 bits can't be stored in an integer and get_bits should not > be used with more than 25 bits. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/wavpack.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/libav

[FFmpeg-devel] [PATCH] wavpack: limit extra_bits to 32 and use get_bits_long

2015-07-02 Thread Andreas Cadhalpun
More than 32 bits can't be stored in an integer and get_bits should not be used with more than 25 bits. Signed-off-by: Andreas Cadhalpun --- libavcodec/wavpack.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index d91b66c.