Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 2 files). Show all
Unified · Split
| @@ -433,6 +433,7 @@ int32_t WelsDecodeBs (PWelsDecoderContext pCtx, const uint8_t* kpBsBuf, const in · 432 unmodified lines | |||
| 433 | 433 | ||
| 434 | if (NULL == DetectStartCodePrefix (kpBsBuf, &iOffset, | 434 | if (NULL == DetectStartCodePrefix (kpBsBuf, &iOffset, |
| 435 | kiBsLen)) { //CAN'T find the 00 00 01 start prefix from the source buffer | 435 | kiBsLen)) { //CAN'T find the 00 00 01 start prefix from the source buffer |
| 436 | pCtx->iErrorCode |= dsBitstreamError; | ||
| 436 | return dsBitstreamError; | 437 | return dsBitstreamError; |
| 437 | } | 438 | } |
| 438 | 439 | ||