Re: [FFmpeg-devel] [PATCH] escape124: reject codebook size 0

2016-11-09 Thread Andreas Cadhalpun
On 09.11.2016 11:12, Michael Niedermayer wrote: > On Wed, Nov 09, 2016 at 12:42:16AM +0100, Andreas Cadhalpun wrote: >> It causes a cb_depth of 32, leading to assertion failures in get_bits. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/escape124.c | 4 >> 1 file changed, 4 ins

Re: [FFmpeg-devel] [PATCH] escape124: reject codebook size 0

2016-11-09 Thread Michael Niedermayer
On Wed, Nov 09, 2016 at 12:42:16AM +0100, Andreas Cadhalpun wrote: > It causes a cb_depth of 32, leading to assertion failures in get_bits. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/escape124.c | 4 > 1 file changed, 4 insertions(+) should be ok thx -- Michael GnuPG f

[FFmpeg-devel] [PATCH] escape124: reject codebook size 0

2016-11-08 Thread Andreas Cadhalpun
It causes a cb_depth of 32, leading to assertion failures in get_bits. Signed-off-by: Andreas Cadhalpun --- libavcodec/escape124.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/escape124.c b/libavcodec/escape124.c index b872b3a..c3174ce 100644 --- a/libavcodec/escape124.c ++