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>
Sat, 30 Jan 2016 23:25:20 +0000 (00:25 +0100)
commitf6a503c4438d98ddf52b32c0e980ccf420205cca
treea7ce769a7b8e63e10a41c84719929644a7a3a2e4
parentdd285715308f55051b423f35d14c17baebc4b14b
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