avcodec/vc1_pred: set ref_field_type earlier
authorJerome Borsboom <jerome.borsboom@carpalis.nl>
Sat, 21 Apr 2018 19:05:28 +0000 (21:05 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 21 Apr 2018 21:59:48 +0000 (23:59 +0200)
commitc0f154bba506e1cb609b1193632d452b89918a80
treea1e4774d9b0ee5a2ac952a041f399a68bf0f0b40
parent8592ae1a1e4cd678c5a3418aab4f72029f0a8f38
avcodec/vc1_pred: set ref_field_type earlier

scaleforsame_y references ref_field_type. Therefore, it needs to be set
before scaleforsame is called.

Fixes #2557.

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