dnxhddata: correct weight tables
authorJeremy James <jeremy.james@gmail.com>
Fri, 25 Sep 2015 16:57:18 +0000 (18:57 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 8 Oct 2015 11:15:42 +0000 (13:15 +0200)
commit61fd5a3072470e4b0ea2dd938f520f4c18a01ddc
tree080204442f7c33f979b0dcf56fba1f4d48936338
parentf5f9c166a1b48212262974d74a5524e180d8f86f
dnxhddata: correct weight tables

CID 1260 (as evidenced by incorrect decoding of a sample from ticket
4876) seems to use incorrect weight tables. It appears those tables
were not zigzag-scanned.

Apply zigzag on weight tables for new CIDs 1258, 1259, and 1260, and
fix an incorrect chroma table for CID 1256.

Fixes last issue from ticket #4876.

Found-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 428424fe75206753ab2039e624031c9643623ea0)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dnxhddata.c