ref: bd8d97dddbb2a86e506d060788cd662ded2a2aa4
parent: c0d21a23f373abfd42b0ea0f5c7629683159ad99
parent: c65d25081786ec751b29007ba7b80668ae03f3b0
author: sijchen <sijchen@cisco.com>
date: Fri Apr 25 13:54:33 EDT 2014
Merge pull request #748 from huili2/newSeq_bugfix fix bug of new seq check
--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -1520,7 +1520,7 @@
break;
}
}
- if (iMaxCurrentLayer != iMaxActiveLayer) {
+ if ((iMaxCurrentLayer != iMaxActiveLayer) || (pTmpLayerSps[iMaxCurrentLayer] != pCtx->pActiveLayerSps[iMaxActiveLayer])) {
bNewSeq = true;
}
// fill active sps if the current sps is not null while active layer is null