dnxhdenc: fix invalid reads in dnxhd_mb_var_thread().
authorAnton Khirnov <anton@khirnov.net>
Tue, 22 Jan 2013 10:55:54 +0000 (11:55 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 26 Jan 2013 11:30:08 +0000 (12:30 +0100)
commit69c25c9284645cf5189af2ede42d6f53828f3b45
treee6d2b17c03695eca0ceeba527c44570829b5085c
parent033a86f9bb6fd59ca71d4951b8e2e27cdc1b29d9
dnxhdenc: fix invalid reads in dnxhd_mb_var_thread().

Do not assume that frame dimensions are mod16 (or that height is mod32
for interlaced).

CC:libav-stable@libav.org
libavcodec/dnxhdenc.c
tests/ref/vsynth/vsynth1-dnxhd-1080i
tests/ref/vsynth/vsynth2-dnxhd-1080i