ref: f0e8293e73353f61798713a4c0b5b6ab54989206
parent: 86515484810e3435294a37d279067023095a8c01
author: Johan J <johan@staaker.com>
date: Fri Apr 20 09:24:03 EDT 2018
Consolidate function signature implementation with prototype
--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -561,7 +561,7 @@
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;
@@ -615,7 +615,7 @@
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;