Use correct scaling table for bwd-pred MVs in second B-field
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>
Wed, 19 Oct 2011 13:51:20 +0000 (18:51 +0500)
committerMartin Storsjö <martin@martin.st>
Wed, 19 Oct 2011 13:42:47 +0000 (16:42 +0300)
commit73447eb4bdba11bf23367f115f1a0ce46ce6f1df
treeb9fd66c1df7da77c356e693dfac50116d3fb5257
parent0d8506b8c52659c5bfff9535391d5e95ddcd45f1
Use correct scaling table for bwd-pred MVs in second B-field

When scaling backward predicted MVs in second B-field, the scaling table is
opposite of that for P field pictures; i.e. first field P table will be used as
second field B table and second field P table will be used as first field B
table. This is not documented in the spec, but exists in the ref. decoder.

This fixes SA10139.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/vc1dec.c