History

fix bug of new seq check

huili2 committed 12 years ago

Commit c65d2501 parent c65e2861 file · +1 −1Browse files

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

Unified · Split

codec/decoder/core/src/decoder_core.cpp+1−1
@@ -1520,7 +1520,7 @@ static bool CheckNewSeqBeginAndUpdateActiveLayerSps(PWelsDecoderContext pCtx) { · 1519 unmodified lines
15201520 break;
15211521 }
15221522 }
1523− if (iMaxCurrentLayer != iMaxActiveLayer) {
1523+ if ((iMaxCurrentLayer != iMaxActiveLayer) || (pTmpLayerSps[iMaxCurrentLayer] != pCtx->pActiveLayerSps[iMaxActiveLayer])) {
15241524 bNewSeq = true;
15251525 }
15261526 // fill active sps if the current sps is not null while active layer is null

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