History

Fix Bugzilla reported bug 1526408.

xiaotiansf committed 7 years ago

Commit c9f63951 parent 0ffc5ea1 file · +6 −0Browse files

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

Unified · Split

codec/decoder/core/src/decode_slice.cpp+6−0
@@ -1411,6 +1411,12 @@ int32_t WelsDecodeMbCabacBSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uin · 1410 unmodified lines
14111411 pCtx->bMbRefConcealed = pCtx->bRPLRError || pCtx->bMbRefConcealed || ! (ppRefPicL0[0] && ppRefPicL0[0]->bIsComplete)
14121412 || ! (ppRefPicL1[0] && ppRefPicL1[0]->bIsComplete);
14131413
1414+ if (pCtx->bMbRefConcealed) {
1415+ SLogContext* pLogCtx = & (pCtx->sLogCtx);
1416+ WelsLog (pLogCtx, WELS_LOG_ERROR, "Ref Picture for B-Slice is lost, B-Slice decoding cannot be continued!");
1417+ return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_DATA, ERR_INFO_REFERENCE_PIC_LOST);
1418+ }
1419+
14141420 SubMbType subMbType;
14151421 if (pSliceHeader->iDirectSpatialMvPredFlag) {
14161422

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