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:23:55 +0000 (17:23 +0100)
commitaa5ae8b2136f9390dcc7e4dd31b1a2e557045449
tree3e1d82465d6f488d636aec385ce803c12b3a2c7d
parentc0315b74e2563f8c3b97e8ff99cd9bd12654c143
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