shithub: openh264

Download patch

ref: 60314ff5705d7d2dee3ca0ac6269bcb44cc821fb
parent: f638546d81c93fbddcc0323a5dff548885c00324
author: huili2 <[email protected]>
date: Sun Jul 6 15:17:50 EDT 2014

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;