shithub: openh264

Download patch

ref: f22a9e890fb74acf3871640bf2b173fdb8665b8a
parent: 5a60d0fef40e21860d31109dd766bfe807c9b18c
parent: 60314ff5705d7d2dee3ca0ac6269bcb44cc821fb
author: HaiboZhu <[email protected]>
date: Mon Jul 7 11:58:20 EDT 2014

Merge pull request #1093 from huili2/ec_return_error

LTR feedback check in decoder

--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -951,6 +951,7 @@
         pCurAu->uiActualUnitsNum) {	// no found IDR nal within incoming AU, need exit to avoid mosaic issue, 11/19/2009
       WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
                "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU.\n");
+      pCtx->iErrorCode |= dsRefLost;
       if (pCtx->iErrorConMethod == ERROR_CON_DISABLE) {
 #ifdef LONG_TERM_REF
         pCtx->iErrorCode |= dsNoParamSets;