History

Debug for codenomicon bits, when one picture contains diff types of slices(I, P),may request null ref list.

Haibo Zhu committed 12 years ago

Commit 79891061 parent da0f65e1 file · +3 −3Browse files

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

Unified · Split

codec/decoder/core/src/decoder_core.cpp+3−3
@@ -1724,9 +1724,9 @@ void WelsDqLayerDecodeStart (PWelsDecoderContext pCtx, PNalUnit pCurNal, PSps pS · 1723 unmodified lines
1724 1724
1725int32_t InitRefPicList (PWelsDecoderContext pCtx, const uint8_t kuiNRi, const bool kbFirstSlice, int32_t iPoc) {1725int32_t InitRefPicList (PWelsDecoderContext pCtx, const uint8_t kuiNRi, const bool kbFirstSlice, int32_t iPoc) {
1726 int32_t iRet = ERR_NONE;1726 int32_t iRet = ERR_NONE;
1727 if (kbFirstSlice)1727
1728 iRet = WelsInitRefList (pCtx, iPoc);1728 iRet = WelsInitRefList (pCtx, iPoc);
1729 if ((pCtx->eSliceType != I_SLICE && pCtx->eSliceType != SI_SLICE) && kbFirstSlice) {1729 if ((pCtx->eSliceType != I_SLICE && pCtx->eSliceType != SI_SLICE) ) {
1730 iRet = WelsReorderRefList (pCtx);1730 iRet = WelsReorderRefList (pCtx);
1731 }1731 }
1732 1732

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