History

add return value judgment

Karina committed 10 years ago

Commit 559e7861 parent d11f12d1 file · +2 −1Browse 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+2−1
@@ -503,7 +503,8 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 502 unmodified lines
503 eNalType = m_pDecContext->sCurNalHead.eNalUnitType;503 eNalType = m_pDecContext->sCurNalHead.eNalUnitType;
504 504
505 if (m_pDecContext->iErrorCode & dsOutOfMemory) {505 if (m_pDecContext->iErrorCode & dsOutOfMemory) {
506 ResetDecoder();506 if(ResetDecoder())
507 return dsOutOfMemory;
507 }508 }
508 //for AVC bitstream (excluding AVC with temporal scalability, including TP), as long as error occur, SHOULD notify upper layer key frame loss.509 //for AVC bitstream (excluding AVC with temporal scalability, including TP), as long as error occur, SHOULD notify upper layer key frame loss.
509 if ((IS_PARAM_SETS_NALS (eNalType) || NAL_UNIT_CODED_SLICE_IDR == eNalType) ||510 if ((IS_PARAM_SETS_NALS (eNalType) || NAL_UNIT_CODED_SLICE_IDR == eNalType) ||

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