ref: c65d25081786ec751b29007ba7b80668ae03f3b0
parent: c65e2860361c8df6d0223f4c5ec470ceb4862426
author: huili2 <huili2@cisco.com>
date: Thu Apr 24 18:11:42 EDT 2014
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