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
582582 eNalType = m_pDecContext->sCurNalHead.eNalUnitType;
583583
584584 if ((m_pDecContext->iErrorCode & dsRefLost) && m_pDecContext->eSliceType == B_SLICE) {
585− if (ResetDecoder())
585+ if (ResetDecoder()) {
586586 return dsRefLost;
587−
587+ }
588588 return dsErrorFree;
589589 }
590590 if (m_pDecContext->iErrorCode & dsOutOfMemory) {
591− if (ResetDecoder())
591+ if (ResetDecoder()) {
592592 return dsOutOfMemory;
593−
593+ }
594594 return dsErrorFree;
595595 }
596596 //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