avcodec/apedec: Fix integer overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Jul 2017 12:57:20 +0000 (14:57 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Jul 2017 14:53:02 +0000 (16:53 +0200)
commitba4beaf6149f7241c8bd85fe853318c2f6837ad0
tree9653857266cb9c45cd7fb44cb94c3afd7d46c1d5
parent615479d51c6a76275c114888b5600b929309f4c4
avcodec/apedec: Fix integer overflow

Fixes: out of array access
Fixes: PoC.ape and others

Found-by: Bingchang, Liu@VARAS of IIE
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/apedec.c