avcodec/vc1: fix decoding of old WMV3 format
authorJerome Borsboom <jerome.borsboom@carpalis.nl>
Sat, 12 Jan 2019 15:14:00 +0000 (16:14 +0100)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sat, 12 Jan 2019 15:40:07 +0000 (16:40 +0100)
commitb6402278322d1f64810cac4bea26d34d7b9a2e6a
tree1e72687c6e649c2d1ba4caa986cb3fbc16f2471d
parent96740ec69f272ad2364175656590a908b9e98a6c
avcodec/vc1: fix decoding of old WMV3 format

The position of the second MV predicitor candidate is slightly different
for the old WMV3 format indicated by RES_RTM_FLAG. This patch fixes
decoding of niceday.wmv on the samples server.

Fixes: #6641

Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
libavcodec/vc1.c
libavcodec/vc1_pred.c