shithub: openh264

Download patch

ref: ff5e6dde2ab2066e75bd243bc7a1748006610cd6
parent: 048dea434dca9611966ca324abd78d007bfe21ad
author: Licai Guo <[email protected]>
date: Tue Jan 21 18:56:39 EST 2014

remove unnecessary return

--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -1740,8 +1740,6 @@
   InitCurDqLayerData (pCtx, pCtx->pCurDqLayer);
 
   pNalCur = pCurAu->pNalUnitsList[iIdx];
-  if (pNalCur == NULL)
-    return ERR_NONE;
   while (iIdx <= iEndIdx) {
     PDqLayer dq_cur							= pCtx->pCurDqLayer;
     SLayerInfo pLayerInfo;