Skip to content

Commit

Permalink
Merge pull request #2959 from Zefz/freestanding-fix
Browse files Browse the repository at this point in the history
Consolidate function signature implementation with prototype
  • Loading branch information
ruil2 authored May 24, 2018
2 parents 628a237 + 5d9c695 commit 2abfa63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codec/decoder/core/src/decoder_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ int32_t InitBsBuffer (PWelsDecoderContext pCtx) {
return ERR_NONE;
}

int32_t ExpandBsBuffer (PWelsDecoderContext pCtx, const int kiSrcLen) {
int32_t ExpandBsBuffer (PWelsDecoderContext pCtx, const int32_t kiSrcLen) {
if (pCtx == NULL)
return ERR_INFO_INVALID_PTR;
int32_t iExpandStepShift = 1;
Expand Down Expand Up @@ -615,7 +615,7 @@ int32_t ExpandBsBuffer (PWelsDecoderContext pCtx, const int kiSrcLen) {
return ERR_NONE;
}

int32_t ExpandBsLenBuffer (PWelsDecoderContext pCtx, const int kiCurrLen) {
int32_t ExpandBsLenBuffer (PWelsDecoderContext pCtx, const int32_t kiCurrLen) {
SParserBsInfo* pParser = pCtx->pParserBsInfo;
if (!pParser->pNalLenInByte)
return ERR_INFO_INVALID_ACCESS;
Expand Down

0 comments on commit 2abfa63

Please sign in to comment.