History

coding style consistent by adding {}.

xiaotiansf committed 7 years ago

Commit 18c3c091 parent ea99af81 file · +4 −4Browse 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+4−4
@@ -582,15 +582,15 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 581 unmodified lines
582 eNalType = m_pDecContext->sCurNalHead.eNalUnitType;582 eNalType = m_pDecContext->sCurNalHead.eNalUnitType;
583 583
584 if ((m_pDecContext->iErrorCode & dsRefLost) && m_pDecContext->eSliceType == B_SLICE) {584 if ((m_pDecContext->iErrorCode & dsRefLost) && m_pDecContext->eSliceType == B_SLICE) {
585 if (ResetDecoder())585 if (ResetDecoder()) {
586 return dsRefLost;586 return dsRefLost;
587 587 }
588 return dsErrorFree;588 return dsErrorFree;
589 }589 }
590 if (m_pDecContext->iErrorCode & dsOutOfMemory) {590 if (m_pDecContext->iErrorCode & dsOutOfMemory) {
591 if (ResetDecoder())591 if (ResetDecoder()) {
592 return dsOutOfMemory;592 return dsOutOfMemory;
593 593 }
594 return dsErrorFree;594 return dsErrorFree;
595 }595 }
596 //for AVC bitstream (excluding AVC with temporal scalability, including TP), as long as error occur, SHOULD notify upper layer key frame loss.596 //for AVC bitstream (excluding AVC with temporal scalability, including TP), as long as error occur, SHOULD notify upper layer key frame loss.

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