dds: Fix the slice size computation
authorTom Butterworth <bangnoise@gmail.com>
Wed, 22 Jul 2015 23:03:29 +0000 (00:03 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 23 Jul 2015 08:45:40 +0000 (10:45 +0200)
commitebe8b5d947c41449c684f17c6826fe6bc46c0360
tree7f6f279f848cf1c2fc6f8ecf6f328a8a0f0a94c5
parent22ecfcd4c79cdf812fdf406525ddf0fd1f7114e4
dds: Fix the slice size computation

A bug was introduced in 6b2b26e7af3ede0abfb46eb5725c26d1083f50bc whereby when
frame height wasn't divisible by the number of threads, pixels would be omitted
from the bottom rows during decode.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/dds.c