shithub: openh264

Download patch

ref: 127749c454c1fb4b23a9e391000e255bd0521dd8
parent: 8662a55bc3c1307b3f04e44ae2c9771b66229560
parent: c635ce442f1968bebebc9feb3cb7ec62f00decca
author: huili2 <huili2@cisco.com>
date: Tue Jun 17 11:06:09 EDT 2014

Merge pull request #974 from ruil2/bitrate

fix a bug that dump reconstruct frame

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -3337,7 +3337,7 @@
 #ifdef ENABLE_FRAME_DUMP
     // Dump reconstruction picture for each sQualityStat layer
     if (iCurDid + 1 < pSvcParam->iSpatialLayerNum)
-      DumpDependencyRec (fsnr, &pParam->sRecFileName[0], iCurDid);
+      DumpDependencyRec (fsnr, &pSvcParam->sDependencyLayers[pSvcParam->iSpatialLayerNum].sRecFileName[0], iCurDid);
 #endif//ENABLE_FRAME_DUMP
 
 #if defined(ENABLE_PSNR_CALC)