escape124: reject codebook size 0
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 8 Nov 2016 23:38:50 +0000 (00:38 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 9 Nov 2016 20:10:59 +0000 (21:10 +0100)
commit226d35c84591f1901c2a13819031549909faa1f5
treef1bca7b854c2c79bcd23c8ac5385deaacac15c1a
parentd54c95a1435a8a3fcd599108ec85b7f56a0fcbf9
escape124: reject codebook size 0

It causes a cb_depth of 32, leading to assertion failures in get_bits.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/escape124.c