avcodec/vc1: fix overlap and loop filtering for Simple and Main profile
authorJerome Borsboom <jerome.borsboom@carpalis.nl>
Fri, 8 Jun 2018 09:01:20 +0000 (11:01 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sat, 16 Jun 2018 17:18:48 +0000 (19:18 +0200)
commita8622497d3ef41871c4be743127c30d1f7a392dd
tree9a4672a5bd5a72b3bfaf5fe5655175e432baeacf
parenta43cdd769301af21d062d002ec1487908e44474a
avcodec/vc1: fix overlap and loop filtering for Simple and Main profile

Overlap filtering I and BI frames for Simple and Main profile is only
dependent on PQUANT. Restrict testing for CONDOVER and OVERFLAGS to
advanced profile. Change from mb_width to end_mb_x in ff_vc1_i_loop_filter
to avoid breaking the Microsoft Screen 2 decoder.

Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
libavcodec/vc1_loopfilter.c