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>
Tue, 8 Jun 2021 16:00:05 +0000 (18:00 +0200)
commitf7862e82686b347eb6a9e64fa7ccdf25d5a76b4b
treea88a8ee3c3ba67ac2f972a088898ddfee55ee662
parent7af1a3cebef6d9654675252f57689d46ac17d1e9
avcodec/vc2enc: Check for non negative slice bounds

Fixes: invalid shifts
Fixes: Ticket 8221

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