History

solve green issue combined with EC and multi-packet input

huili2 committed 12 years ago

Commit d7f33311 parent 4a518654 files · +12 −4Browse files

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

Unified · Split

codec/decoder/core/src/pic_queue.cpp+1−0
@@ -83,6 +83,7 @@ PPicture AllocPicture (PWelsDecoderContext pCtx, const int32_t kiPicWidth, const · 82 unmodified lines
8383 iChromaSize = iPicChromaWidth * iPicChromaHeight;
8484 pPic->pBuffer[0] = static_cast<uint8_t*> (WelsMalloc (iLumaSize /* luma */
8585 + (iChromaSize << 1) /* Cb,Cr */, "_pic->buffer[0]"));
86+ memset (pPic->pBuffer[0], 128, (iLumaSize + (iChromaSize << 1)));
8687
8788 WELS_VERIFY_RETURN_PROC_IF (NULL, NULL == pPic->pBuffer[0], FreePicture (pPic));
8889 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