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 15:00:31 +0000 (16:00 +0100)
commit8c08247990ca5246bf8f2c48fc2f3fd8a043f326
tree4e7916a1b160202f13f80964fbacb09db551f87e
parent2316c3586591f858ad14f586bb30a54700dd266e
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