shithub: openh264

Download patch

ref: 030d320e43c7f2b5b65931ab52160ef1486fd52b
parent: 182ae421a1cca65d59c21d1d5dbd0a1de2ed522c
parent: 490a3e55625c8aba9b612250b2c948371577db49
author: huili2 <[email protected]>
date: Wed Dec 17 06:18:23 EST 2014

Merge pull request #1646 from dongzha/cabacfix

cabac fix

--- a/codec/decoder/core/src/parse_mb_syn_cabac.cpp
+++ b/codec/decoder/core/src/parse_mb_syn_cabac.cpp
@@ -844,7 +844,7 @@
         sTCoeff[pScanTable[j]] = pSignificantMap[j];
       ++j;
     } while (j < 16);
-  } else if (iResProperty == CHROMA_DC_U) {
+  } else if (iResProperty == CHROMA_DC_U || iResProperty == CHROMA_DC_V) {
     do {
       if (pSignificantMap[j] != 0)
         sTCoeff[pScanTable[j]] = pSignificantMap[j] * pDeQuantMul[0];