shithub: openh264

Download patch

ref: 6ae38da3ab37a3708b5fdc088ff1b3494ac027d3
parent: bab0bf18f8dc90aaeb0a6a3379295ff5eb5d43fd
parent: 19c02bdfa8b6f356c22e809b00bdce19ab1a4712
author: ruil2 <ruil2@cisco.com>
date: Fri Sep 26 07:43:34 EDT 2014

Merge pull request #1389 from zhilwang/issue-fix

Fix crash issue due to commit 8945348.

--- a/codec/common/x86/intra_pred_com.asm
+++ b/codec/common/x86/intra_pred_com.asm
@@ -42,10 +42,10 @@
 %include "asm_inc.asm"
 
 ;***********************************************************************
-; Local Data (Read Only)
+; Code
 ;***********************************************************************
 
-SECTION .rodata align=16
+SECTION .text
 
 ;***********************************************************************
 ; void WelsI16x16LumaPredH_sse2(uint8_t *pred, uint8_t *pRef, int32_t stride);
--- a/codec/encoder/core/src/ratectl.cpp
+++ b/codec/encoder/core/src/ratectl.cpp
@@ -1114,7 +1114,7 @@
   }
   if (pWelsSvcRc->bSkipFlag) {
     pWelsSvcRc->iSkipFrameNum++;
-    WelsLog (& (pEncCtx->sLogCtx), WELS_LOG_INFO, "SCC iSkipFrameNum = %d,buffer = %d,threadhold = %d,bitrate = %d,timestamp=%d\n", pWelsSvcRc->iSkipFrameNum,pWelsSvcRc->iBufferFullnessSkip,iVbufferTh,pWelsSvcRc->iSkipFrameNum,iBitRate,uiTimeStamp);
+    WelsLog (& (pEncCtx->sLogCtx), WELS_LOG_INFO, "SCC iSkipFrameNum = %d,buffer = %d,threadhold = %d,bitrate = %d,timestamp=%lld\n", pWelsSvcRc->iSkipFrameNum,pWelsSvcRc->iBufferFullnessSkip,iVbufferTh,iBitRate,uiTimeStamp);
   }
   pWelsSvcRc->uiLastTimeStamp = uiTimeStamp;
 }