History

dpb uninitial crash for EC

huili2 committed 12 years ago

Commit f1a0a811 parent ab41e691 file · +2 −0Browse files

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

Unified · Split

codec/decoder/core/src/decoder.cpp+2−0
@@ -228,6 +228,8 @@ int32_t WelsRequestMem (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const · 227 unmodified lines
228 }228 }
229 }229 }
230 230
231 pCtx->pPreviousDecodedPictureInDpb = NULL;
232
231 // currently only active for LIST_0 due to have no B frames233 // currently only active for LIST_0 due to have no B frames
232 iErr = CreatePicBuff (pCtx, &pCtx->pPicBuff[LIST_0], iPicQueueSize, kiPicWidth, kiPicHeight);234 iErr = CreatePicBuff (pCtx, &pCtx->pPicBuff[LIST_0], iPicQueueSize, kiPicWidth, kiPicHeight);
233 if (iErr != ERR_NONE)235 if (iErr != ERR_NONE)

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