History

solve green issue combined with EC and multi-packet input

huili2 committed 12 years ago

Commit d7f33311 parent 4a518654 files · +12 −4Browse files

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

Unified · Split

codec/decoder/core/src/au_parser.cpp+3−0
@@ -312,6 +312,9 @@ uint8_t* ParseNalHeader (PWelsDecoderContext pCtx, SNalUnitHeader* pNalUnitHeade · 311 unmodified lines
312 InitBits (pBs, pNal, iBitSize);312 InitBits (pBs, pNal, iBitSize);
313 iErr = ParseSliceHeaderSyntaxs (pCtx, pBs, bExtensionFlag);313 iErr = ParseSliceHeaderSyntaxs (pCtx, pBs, bExtensionFlag);
314 if (iErr != ERR_NONE) {314 if (iErr != ERR_NONE) {
315 if ((uiAvailNalNum == 1) && (pCurNal->sNalHeaderExt.bIdrFlag)) { //IDR parse error
316 ResetActiveSPSForEachLayer (pCtx);
317 }
315 //if current NAL occur error when parsing, should clean it from pNalUnitsList318 //if current NAL occur error when parsing, should clean it from pNalUnitsList
316 //otherwise, when Next good NAL decoding, this corrupt NAL is considered as normal NAL and lead to decoder crash319 //otherwise, when Next good NAL decoding, this corrupt NAL is considered as normal NAL and lead to decoder crash
317 ForceClearCurrentNal (pCurAu);320 ForceClearCurrentNal (pCurAu);

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