add return info for all cases

This commit is contained in:
huili2
2014-07-09 22:07:30 -07:00
parent 0cafc565be
commit 209c607020
2 changed files with 7 additions and 6 deletions

View File

@@ -433,6 +433,7 @@ int32_t WelsDecodeBs (PWelsDecoderContext pCtx, const uint8_t* kpBsBuf, const in
if (NULL == DetectStartCodePrefix (kpBsBuf, &iOffset,
kiBsLen)) { //CAN'T find the 00 00 01 start prefix from the source buffer
pCtx->iErrorCode |= dsBitstreamError;
return dsBitstreamError;
}