History

add return info for all cases

huili2 committed 12 years ago

Commit 209c6071 parent 0cafc562 files · +7 −6Browse files

Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 2 files). Show all

Unified · Split

codec/decoder/core/src/decoder.cpp+1−0
@@ -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 buffer435 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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t