vc1dec: Invoke edge emulation regardless of MV precision for 1-MV chroma
authorMashiat Sarker Shakkhar <mashiat.sarker@gmail.com>
Tue, 9 Oct 2012 19:38:16 +0000 (19:38 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 10 Oct 2012 18:54:19 +0000 (14:54 -0400)
commit7cc3c4e1d4179aeabcd891090e31ee5e5bfd9692
treec2e2204135916910873cc8d191e9bd9e9318bc26
parent88058d9a994f42e4e9ed4e67baf696bbfe53128c
vc1dec: Invoke edge emulation regardless of MV precision for 1-MV chroma

This is required due to the way VC-1 handles chroma pull-back which may end
up causing negative chroma MV for zero luma MV. Edge emulation needs to be
invoked in such cases.

This only affects vertical component of chroma motion vector.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/vc1dec.c