History

set bAuReadyFlag to true when we meet a PPS

Licai Guo committed 12 years ago

Commit 8a3518f1 parent a4cecd81 file · +1 −10Browse files

Showing the changes to codec/decoder/core/src/au_parser.cpp (1 of 1 file). Show all

Unified · Split

codec/decoder/core/src/au_parser.cpp+1−10
@@ -174,21 +174,12 @@ uint8_t* ParseNalHeader (PWelsDecoderContext pCtx, SNalUnitHeader* pNalUnitHeade · 173 unmodified lines
174174
175175 switch (pNalUnitHeader->eNalUnitType) {
176176 case NAL_UNIT_SEI:
177−
178− if (pCtx->pAccessUnitList->uiAvailUnitsNum > 0) {
179− pCtx->pAccessUnitList->uiEndPos = pCtx->pAccessUnitList->uiAvailUnitsNum - 1;
180− pCtx->bAuReadyFlag = true;
181− }
182−
183− break;
184−
185177 case NAL_UNIT_SPS:
186−
178+ case NAL_UNIT_PPS:
187179 if (pCtx->pAccessUnitList->uiAvailUnitsNum > 0) {
188180 pCtx->pAccessUnitList->uiEndPos = pCtx->pAccessUnitList->uiAvailUnitsNum - 1;
189181 pCtx->bAuReadyFlag = true;
190182 }
191−
192183 break;
193184
194185 case NAL_UNIT_PREFIX:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t