shithub: openh264

Download patch

ref: f94a20d7b5b48cf057e130f53100be531ca56590
parent: 5c3e16842dc8999b39ed3422c99159e679c816fe
parent: b02f75f608e1b3b36862d050bf4af5a1db94194e
author: ruil2 <ruil2@cisco.com>
date: Wed Jul 16 06:01:02 EDT 2014

Merge pull request #1174 from huili2/border_green_master

expand pic for EC

--- a/codec/decoder/core/src/manage_dec_ref.cpp
+++ b/codec/decoder/core/src/manage_dec_ref.cpp
@@ -121,6 +121,8 @@
         pRef->iFrameNum = 0;
         pRef->iFramePoc = 0;
         pRef->uiTemporalId = pRef->uiQualityId = 0;
+        ExpandReferencingPicture (pRef->pData, pRef->iWidthInPixel, pRef->iHeightInPixel, pRef->iLinesize,
+                                  pCtx->sExpandPicFunc.pfExpandLumaPicture, pCtx->sExpandPicFunc.pfExpandChromaPicture);
         AddShortTermToList (&pCtx->sRefPic, pRef);
       } else {
         WelsLog (& (pCtx->sLogCtx), WELS_LOG_ERROR, "WelsInitRefList()::PrefetchPic for EC errors.\n");