shithub: openh264

Download patch

ref: 32d5c22a9ab0937426836bc332e46ca39f835361
parent: 4f403ac01540e62601311c41607a26086a88ea60
parent: 04d7e63a588ed9783aa9a12fdce5fb4d9b6d7f8a
author: huili2 <[email protected]>
date: Thu Jun 26 13:40:19 EDT 2014

Merge pull request #1018 from ruil2/remove_check

remove more checking

--- a/codec/encoder/core/src/au_set.cpp
+++ b/codec/encoder/core/src/au_set.cpp
@@ -124,12 +124,6 @@
     }
   }
 
-  //get the maximum num of reference frame according to temporal Layer
-  iRefFrame = WELS_CLIP3 ((pParam->iTemporalLayerNum + pParam->iLTRRefNum), MIN_REF_PIC_COUNT,
-                          MAX_REFERENCE_REORDER_COUNT_NUM);
-  if (pParam->iMaxNumRefFrame < iRefFrame)
-    pParam->iMaxNumRefFrame = iRefFrame;
-
   return ENC_RETURN_SUCCESS;
 }
 static inline int32_t WelsGetLevelIdc (const SWelsSPS* kpSps, float fFrameRate, int32_t iTargetBitRate) {