History

Fix ossz-fuzz reported bug-13001. the fix has added one error code in codec_app_def.h which handles null ptrs in ref pic lists within refCount.

xiaotiansf committed 7 years ago

Commit 19a94861 parent 71d619c5 files · +33 −11Browse files

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

Unified · Split

codec/decoder/plus/src/welsDecoderExt.cpp+6−0
@@ -593,6 +593,12 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 592 unmodified lines
593 }593 }
594 return dsErrorFree;594 return dsErrorFree;
595 }595 }
596 if (m_pDecContext->iErrorCode & dsRefListNullPtrs) {
597 if (ResetDecoder()) {
598 return dsRefListNullPtrs;
599 }
600 return dsErrorFree;
601 }
596 //for AVC bitstream (excluding AVC with temporal scalability, including TP), as long as error occur, SHOULD notify upper layer key frame loss.602 //for AVC bitstream (excluding AVC with temporal scalability, including TP), as long as error occur, SHOULD notify upper layer key frame loss.
597 if ((IS_PARAM_SETS_NALS (eNalType) || NAL_UNIT_CODED_SLICE_IDR == eNalType) ||603 if ((IS_PARAM_SETS_NALS (eNalType) || NAL_UNIT_CODED_SLICE_IDR == eNalType) ||
598 (VIDEO_BITSTREAM_AVC == m_pDecContext->eVideoType)) {604 (VIDEO_BITSTREAM_AVC == m_pDecContext->eVideoType)) {

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