Skip to content

Commit 2abfa63

Browse files
author
ruil2
authored
Merge pull request #2959 from Zefz/freestanding-fix
Consolidate function signature implementation with prototype
2 parents 628a237 + 5d9c695 commit 2abfa63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codec/decoder/core/src/decoder_core.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ int32_t InitBsBuffer (PWelsDecoderContext pCtx) {
561561
return ERR_NONE;
562562
}
563563

564-
int32_t ExpandBsBuffer (PWelsDecoderContext pCtx, const int kiSrcLen) {
564+
int32_t ExpandBsBuffer (PWelsDecoderContext pCtx, const int32_t kiSrcLen) {
565565
if (pCtx == NULL)
566566
return ERR_INFO_INVALID_PTR;
567567
int32_t iExpandStepShift = 1;
@@ -615,7 +615,7 @@ int32_t ExpandBsBuffer (PWelsDecoderContext pCtx, const int kiSrcLen) {
615615
return ERR_NONE;
616616
}
617617

618-
int32_t ExpandBsLenBuffer (PWelsDecoderContext pCtx, const int kiCurrLen) {
618+
int32_t ExpandBsLenBuffer (PWelsDecoderContext pCtx, const int32_t kiCurrLen) {
619619
SParserBsInfo* pParser = pCtx->pParserBsInfo;
620620
if (!pParser->pNalLenInByte)
621621
return ERR_INFO_INVALID_ACCESS;

0 commit comments

Comments
 (0)