History

remove parseonly in decoder ctx

huili2 committed 10 years ago

Commit 926fc671 parent 60aaf4811 files · +128 −86Browse files

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

Unified · Split

codec/decoder/core/src/pic_queue.cpp+1−1
@@ -83,7 +83,7 @@ PPicture AllocPicture (PWelsDecoderContext pCtx, const int32_t kiPicWidth, const · 82 unmodified lines
83 iLumaSize = iPicWidth * iPicHeight;83 iLumaSize = iPicWidth * iPicHeight;
84 iChromaSize = iPicChromaWidth * iPicChromaHeight;84 iChromaSize = iPicChromaWidth * iPicChromaHeight;
85 85
86 if (pCtx->bParseOnly) {86 if (pCtx->pParam->bParseOnly) {
87 pPic->pBuffer[0] = pPic->pBuffer[1] = pPic->pBuffer[2] = NULL;87 pPic->pBuffer[0] = pPic->pBuffer[1] = pPic->pBuffer[2] = NULL;
88 pPic->pData[0] = pPic->pData[1] = pPic->pData[2] = NULL;88 pPic->pData[0] = pPic->pData[1] = pPic->pData[2] = NULL;
89 pPic->iLinesize[0] = iPicWidth;89 pPic->iLinesize[0] = iPicWidth;

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