ref: a0320dac5d0eea33be9d7dd3b226598e4dadcf48
parent: 74b52e8a31c47b6fc10394b7371c8aec6c397d42
parent: a0e569da8101cfe4b308d9123a697d1b8150b8ed
author: dongzha <dongzha@cisco.com>
date: Thu Jul 17 06:43:49 EDT 2014
Merge pull request #1186 from huili2/diff_logic_WME_master modify the logic for WME usage
--- a/codec/decoder/core/src/au_parser.cpp
+++ b/codec/decoder/core/src/au_parser.cpp
@@ -327,8 +327,7 @@
return NULL;
}
- if ((uiAvailNalNum == 1) && ((NAL_UNIT_CODED_SLICE_IDR == pNalUnitHeader->eNalUnitType)
- || (pCurNal->sNalHeaderExt.bIdrFlag))) {
+ if ((uiAvailNalNum == 1) && CheckNextAuNewSeq (pCtx, pCurNal, pCurNal->sNalData.sVclNal.sSliceHeaderExt.sSliceHeader.pSps)) {
ResetActiveSPSForEachLayer (pCtx);
}
if ((uiAvailNalNum > 1) &&