Showing the changes to codec/decoder/core/src/au_parser.cpp (1 of 22 files). Show all
Unified · Split
| @@ -608,7 +608,7 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 607 unmodified lines | ||
| 608 | 608 | pCtx->iErrorCode |= dsBitstreamError; |
| 609 | 609 | return iErr; |
| 610 | 610 | } |
| 611 | − | |
| 611 | + pCtx->bHasNewSps = true; | |
| 612 | 612 | break; |
| 613 | 613 | |
| 614 | 614 | case NAL_UNIT_PPS: |
| @@ -628,11 +628,12 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 13 unmodified lines | ||
| 628 | 628 | pCtx->iErrorCode |= dsNoParamSets; |
| 629 | 629 | else |
| 630 | 630 | pCtx->iErrorCode |= dsBitstreamError; |
| 631 | + pCtx->bHasNewSps = false; | |
| 631 | 632 | return iErr; |
| 632 | 633 | } |
| 633 | 634 | |
| 634 | 635 | pCtx->sSpsPpsCtx.bPpsExistAheadFlag = true; |
| 635 | − | |
| 636 | + ++ (pCtx->sSpsPpsCtx.iSeqId); | |
| 636 | 637 | break; |
| 637 | 638 | |
| 638 | 639 | case NAL_UNIT_SEI: |