OSDN Git Service

vc1: Always reset numref when parsing a new frame header.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Jan 2014 15:28:25 +0000 (15:28 +0000)
committerTim Walker <tdskywalker@gmail.com>
Mon, 20 Jan 2014 22:22:30 +0000 (23:22 +0100)
commitdd2d0039b6405dc724e4fef0d5b8f49530eea3aa
tree928da0ee3362cdd7c5ea4796620f4ac45116ed73
parent89564be444d24f75ea5add8b6987e414cf7aa7d5
vc1: Always reset numref when parsing a new frame header.

Fixes an issue where the B-frame coding mode switches from interlaced
fields to interlaced frames, causing incorrect decisions in the motion
compensation code and resulting in visual artifacts.

CC: libav-stable@libav.org
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
libavcodec/vc1.c