avcodec/vc1: implement interlaced out-of-bounds reference pixel replication
authorJerome Borsboom <jerome.borsboom@carpalis.nl>
Mon, 23 Apr 2018 18:59:41 +0000 (20:59 +0200)
committerPaul B Mahol <onemda@gmail.com>
Wed, 25 Apr 2018 20:07:20 +0000 (22:07 +0200)
commit362ce2db4bbc27bb74a82341558eaffb35d8397e
treede763e976a967359dc3c38cc6470f858dc5f6dc6
parentb43f1c5225729656792bfce313a12dd4ec3b3fdc
avcodec/vc1: implement interlaced out-of-bounds reference pixel replication

The existing implementation did out-of-bounds reference pixel replication for
progressive reference frames. In interlaced reference frames both the even and
odd line on the horizontal edges need to be replicated.

Fixes #3262.

Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
libavcodec/vc1_mc.c
tests/ref/fate/vc1_ilaced_twomv