ref: bcb76d383b778b944bf75bdea4f02c1c3c0bcf37
parent: d905d6bdfdff1209ea018dd11dc20c14c0134f70
parent: 593e291d19ada4811c07405b1a519868014799f8
author: Licai Guo <licaguo@cisco.com>
date: Thu Apr 24 13:30:04 EDT 2014
Merge pull request #746 from huili2/IDR_bugfix fix typo of IDR loss
--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -905,7 +905,7 @@
if (uiActualIdx ==
pCurAu->uiActualUnitsNum) { // no found IDR nal within incoming AU, need exit to avoid mosaic issue, 11/19/2009
WelsLog (pCtx, WELS_LOG_WARNING, "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU.\n");
- if (pCtx->iErrorCode == ERROR_CON_DISABLE) {
+ if (pCtx->iErrorConMethod == ERROR_CON_DISABLE) {
#ifdef LONG_TERM_REF
pCtx->iErrorCode |= dsNoParamSets;
return dsNoParamSets;