diff --git a/source/Lib/TLibDecoder/TDecSbac.cpp b/source/Lib/TLibDecoder/TDecSbac.cpp
index c89d758..5b5dcea 100644
a
|
b
|
Void TDecSbac::parseCrossComponentPrediction( TComTU &rTu, ComponentID compID ) |
843 | 843 | { |
844 | 844 | TComDataCU *pcCU = rTu.getCU(); |
845 | 845 | |
846 | | if( isLuma(compID) || !pcCU->getSlice()->getPPS()->getUseCrossComponentPrediction() ) |
| 846 | if( isLuma(compID) || !pcCU->getSlice()->getPPS()->getUseCrossComponentPrediction() || |
| 847 | pcCU->getSlice()->getSPS()->getChromaFormatIdc() != CHROMA_444) |
847 | 848 | { |
848 | 849 | return; |
849 | 850 | } |