avcodec/vc2enc: Check for non negative slice bounds
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 31 May 2021 19:40:17 +0000 (21:40 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Jun 2021 18:53:56 +0000 (20:53 +0200)
commit350bedf7e2892a1201fdfac8260040d8ec4d4c6c
tree1fd3eeb40cbf89966e6b709081f01e775310b404
parent5664263561ecd8e2781432bdf99322c7fa195b00
avcodec/vc2enc: Check for non negative slice bounds

Fixes: invalid shifts
Fixes: Ticket 8221

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f7862e82686b347eb6a9e64fa7ccdf25d5a76b4b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vc2enc.c