avcodec/vc1: fix calculation of the last line of a slice
authorJerome Borsboom <jerome.borsboom@carpalis.nl>
Fri, 18 May 2018 15:06:32 +0000 (17:06 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 May 2018 11:17:36 +0000 (13:17 +0200)
commit2b86472a65b7fe48f8467b669462b7972cc2f1ae
treea82e8f11cd29e5e6fd2a958eb38a258233bd307b
parentca878845ae037c0aaf3b3ede0e9c838a223ecc97
avcodec/vc1: fix calculation of the last line of a slice

Only for the last slice of the first field is the last line of the slice
equal to the height of the field.

Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vc1dec.c