shithub: openh264

Download patch

ref: 490a3e55625c8aba9b612250b2c948371577db49
parent: affa753d5dc93c60df37ff9568091aadfca68cbd
author: dong zhang <[email protected]>
date: Wed Dec 17 04:27:41 EST 2014

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];