History

disable ECed output for nodelay decoding

huili2 committed 11 years ago

Commit ecd61021 parent 5cf16341 file · +12 −12Browse files

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

Unified · Split

codec/decoder/plus/src/welsDecoderExt.cpp+12−12
@@ -399,21 +399,21 @@ DECODING_STATE CWelsDecoder::DecodeFrameNoDelay (const unsigned char* kpSrc, · 398 unmodified lines
399 unsigned char** ppDst,399 unsigned char** ppDst,
400 SBufferInfo* pDstInfo) {400 SBufferInfo* pDstInfo) {
401 int iRet;401 int iRet;
402 SBufferInfo sTmpBufferInfo;402 //SBufferInfo sTmpBufferInfo;
403 unsigned char* ppTmpDst[3] = {NULL, NULL, NULL};403 //unsigned char* ppTmpDst[3] = {NULL, NULL, NULL};
404 404
405 iRet = (int) DecodeFrame2 (kpSrc, kiSrcLen, ppDst, pDstInfo);405 iRet = (int) DecodeFrame2 (kpSrc, kiSrcLen, ppDst, pDstInfo);
406 memcpy (&sTmpBufferInfo, pDstInfo, sizeof (SBufferInfo));406 //memcpy (&sTmpBufferInfo, pDstInfo, sizeof (SBufferInfo));
407 ppTmpDst[0] = ppDst[0];407 //ppTmpDst[0] = ppDst[0];
408 ppTmpDst[1] = ppDst[1];408 //ppTmpDst[1] = ppDst[1];
409 ppTmpDst[2] = ppDst[2];409 //ppTmpDst[2] = ppDst[2];
410 iRet |= DecodeFrame2 (NULL, 0, ppDst, pDstInfo);410 iRet |= DecodeFrame2 (NULL, 0, ppDst, pDstInfo);
411 if ((pDstInfo->iBufferStatus == 0) && (sTmpBufferInfo.iBufferStatus == 1)) {411 //if ((pDstInfo->iBufferStatus == 0) && (sTmpBufferInfo.iBufferStatus == 1)) {
412 memcpy (pDstInfo, &sTmpBufferInfo, sizeof (SBufferInfo));412 //memcpy (pDstInfo, &sTmpBufferInfo, sizeof (SBufferInfo));
413 ppDst[0] = ppTmpDst[0];413 //ppDst[0] = ppTmpDst[0];
414 ppDst[1] = ppTmpDst[1];414 //ppDst[1] = ppTmpDst[1];
415 ppDst[2] = ppTmpDst[2];415 //ppDst[2] = ppTmpDst[2];
416 }416 //}
417 417
418 return (DECODING_STATE) iRet;418 return (DECODING_STATE) iRet;
419}419}

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