swscale/slice: Fix wrong return on error
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 9 Jul 2021 13:20:47 +0000 (15:20 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 9 Jul 2021 13:21:37 +0000 (15:21 +0200)
commit7874d40f10cca922797a8da14189a53ee52f0156
treef00cb51e4b315c417b2a59ac8c7d4e2a05f4a438
parenteaec4df63f98b6d2d60d2cf441de250c5f69359e
swscale/slice: Fix wrong return on error

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