History

EC UT fail bug fix

huili2 committed 12 years ago

Commit fd45e7f1 parent 24823621 file · +2 −2Browse files

Showing the changes to test/decoder/DecUT_ErrorConcealment.cpp (1 of 1 file). Show all

Unified · Split

test/decoder/DecUT_ErrorConcealment.cpp+2−2
@@ -47,8 +47,8 @@ int32_t InitAndAllocInputData (PECInputCtx& pECCtx) { · 46 unmodified lines
47 return 1;47 return 1;
48 memset (pECCtx, 0, sizeof (SECInputCtx));48 memset (pECCtx, 0, sizeof (SECInputCtx));
49 49
50 pECCtx->iMbWidth = rand() % MAX_MB_WIDTH; //give a constrained max width50 pECCtx->iMbWidth = rand() % (MAX_MB_WIDTH - 1) + 1; //give a constrained max width
51 pECCtx->iMbHeight = rand() % MAX_MB_HEIGHT; //give a constrained max height51 pECCtx->iMbHeight = rand() % (MAX_MB_HEIGHT - 1) + 1; //give a constrained max height
52 pECCtx->iLinesize[0] = pECCtx->iMbWidth << 4;52 pECCtx->iLinesize[0] = pECCtx->iMbWidth << 4;
53 pECCtx->iLinesize[1] = pECCtx->iLinesize[2] = pECCtx->iLinesize[0] >> 1;53 pECCtx->iLinesize[1] = pECCtx->iLinesize[2] = pECCtx->iLinesize[0] >> 1;
54 54

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