History

Fix ossz-buzz reported bug 13457. (Don't try to dereference never existing P referemece->reference.

xiaotiansf committed 7 years ago

Commit 4227bea1 parent 0fc55022 files · +3 −6Browse files

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

Unified · Split

codec/decoder/plus/src/welsDecoderExt.cpp+0−6
@@ -581,12 +581,6 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 580 unmodified lines
581 581
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) {
585 if (ResetDecoder()) {
586 return dsRefLost;
587 }
588 return dsErrorFree;
589 }
590 if (m_pDecContext->iErrorCode & dsOutOfMemory) {584 if (m_pDecContext->iErrorCode & dsOutOfMemory) {
591 if (ResetDecoder()) {585 if (ResetDecoder()) {
592 return dsOutOfMemory;586 return dsOutOfMemory;

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