ref: 8a3518f7befc94a7351759072215031e709c0fec
parent: a4cecd80048e187033fc4ee084abb4d6c7a79e66
author: Licai Guo <[email protected]>
date: Thu Mar 6 16:50:31 EST 2014
set bAuReadyFlag to true when we meet a PPS
--- a/codec/decoder/core/src/au_parser.cpp
+++ b/codec/decoder/core/src/au_parser.cpp
@@ -174,21 +174,12 @@
switch (pNalUnitHeader->eNalUnitType) {
case NAL_UNIT_SEI:
-
- if (pCtx->pAccessUnitList->uiAvailUnitsNum > 0) {
- pCtx->pAccessUnitList->uiEndPos = pCtx->pAccessUnitList->uiAvailUnitsNum - 1;
- pCtx->bAuReadyFlag = true;
- }
-
- break;
-
case NAL_UNIT_SPS:
-
+ case NAL_UNIT_PPS:
if (pCtx->pAccessUnitList->uiAvailUnitsNum > 0) {
pCtx->pAccessUnitList->uiEndPos = pCtx->pAccessUnitList->uiAvailUnitsNum - 1;
pCtx->bAuReadyFlag = true;
}
-
break;
case NAL_UNIT_PREFIX: