vc1dec: Update destination pointers in context for fields
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2013 18:58:26 +0000 (19:58 +0100)
committerMartin Storsjö <martin@martin.st>
Wed, 15 May 2013 08:38:49 +0000 (11:38 +0300)
commit0313653928b47c3b0e493c08c66bb1a374695f7c
treeecab903ddc8fc9f546623b5cc4de2fd9ab15173d
parente6c4ac7b5f038be56dfbb0171f5dd0cb850d9b28
vc1dec: Update destination pointers in context for fields

This replaces a large number of checks for the second field by
fixing the pointers when they are setup.

This should also fix I/BI field pictures.

Changes checksums for vc1_sa10143, the file becomes slightly closer
to what the reference decoder outputs.

Based on "vc1dec: the second field is written wrong to the picture"
by Sebastian Sandberg <sebastiand.sandberg@gmail.com>.

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