shithub: openh264

Download patch

ref: 61cd77d487a4376c58a78099cc247ee6eaf19684
parent: ac08cc4b2fcd087c9d56bd89a8092d582a9433fa
parent: e8b68d2460b8c9122c0c711ee06b4c18feefffd6
author: ruil2 <[email protected]>
date: Wed Jan 7 04:13:16 EST 2015

Merge pull request #1701 from huili2/parseonly_framecomplete_bugfix

bug fix for parseonly for complete frame judge

--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -1801,6 +1801,7 @@
         memcpy (pDstBuf, pNalBs, iNalLen);
         pDstBuf += iNalLen;
       }
+      pCtx->iTotalNumMbRec = 0;
     } else { //error
       pCtx->pParserBsInfo->uiOutBsTimeStamp = 0;
       pCtx->pParserBsInfo->iNalNum = 0;