avcodec/mss2: Check for repeat overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 10 Jan 2016 11:19:48 +0000 (12:19 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jan 2016 16:39:04 +0000 (17:39 +0100)
commit4c6b48a08e5a975fba644e7eafa1ce5ee35ac618
treeecc8c51b0eb16f4826234c8680dbcaaf0a88aa93
parent7974642cfd609d6321ef3e2e4d8f2c84aad1bd9b
avcodec/mss2: Check for repeat overflow

Fixes: mss2_left_shift.wmv

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e273dade78943e22b71d0ddb67cd0d737fc26edf)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mss2.c