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
399399 unsigned char** ppDst,
400400 SBufferInfo* pDstInfo) {
401401 int iRet;
402− SBufferInfo sTmpBufferInfo;
403− unsigned char* ppTmpDst[3] = {NULL, NULL, NULL};
402+ //SBufferInfo sTmpBufferInfo;
403+ //unsigned char* ppTmpDst[3] = {NULL, NULL, NULL};
404404
405405 iRet = (int) DecodeFrame2 (kpSrc, kiSrcLen, ppDst, pDstInfo);
406− memcpy (&sTmpBufferInfo, pDstInfo, sizeof (SBufferInfo));
407− ppTmpDst[0] = ppDst[0];
408− ppTmpDst[1] = ppDst[1];
409− ppTmpDst[2] = ppDst[2];
406+ //memcpy (&sTmpBufferInfo, pDstInfo, sizeof (SBufferInfo));
407+ //ppTmpDst[0] = ppDst[0];
408+ //ppTmpDst[1] = ppDst[1];
409+ //ppTmpDst[2] = ppDst[2];
410410 iRet |= DecodeFrame2 (NULL, 0, ppDst, pDstInfo);
411− if ((pDstInfo->iBufferStatus == 0) && (sTmpBufferInfo.iBufferStatus == 1)) {
412− memcpy (pDstInfo, &sTmpBufferInfo, sizeof (SBufferInfo));
413− ppDst[0] = ppTmpDst[0];
414− ppDst[1] = ppTmpDst[1];
415− ppDst[2] = ppTmpDst[2];
416− }
411+ //if ((pDstInfo->iBufferStatus == 0) && (sTmpBufferInfo.iBufferStatus == 1)) {
412+ //memcpy (pDstInfo, &sTmpBufferInfo, sizeof (SBufferInfo));
413+ //ppDst[0] = ppTmpDst[0];
414+ //ppDst[1] = ppTmpDst[1];
415+ //ppDst[2] = ppTmpDst[2];
416+ //}
417417
418418 return (DECODING_STATE) iRet;
419419 }

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