History

Fix openh264 issue 3345 (new oss-fuzz issues 25921, 25922, 25923, 25932, 25939, 25961 25970, 25973, 26060, 26068, 26078, 26114, 26169, 26198, 26220)

xiaotianshi2 committed 6 years ago

Commit a9006e41 parent d9c90051 file · +5 −0Browse 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+5−0
@@ -811,6 +811,11 @@ DECODING_STATE CWelsDecoder::DecodeFrame2WithCtx (PWelsDecoderContext pDecContex · 810 unmodified lines
811 }811 }
812 return dsErrorFree;812 return dsErrorFree;
813 }813 }
814 if ((pDecContext->iErrorCode & (dsBitstreamError | dsDataErrorConcealed)) && pDecContext->eSliceType == B_SLICE) {
815 ResetReorderingPictureBuffers (&m_sReoderingStatus, m_sPictInfoList, true);
816 WelsResetRefPic (pDecContext);
817 return dsErrorFree;
818 }
814 //for AVC bitstream (excluding AVC with temporal scalability, including TP), as long as error occur, SHOULD notify upper layer key frame loss.819 //for AVC bitstream (excluding AVC with temporal scalability, including TP), as long as error occur, SHOULD notify upper layer key frame loss.
815 if ((IS_PARAM_SETS_NALS (eNalType) || NAL_UNIT_CODED_SLICE_IDR == eNalType) ||820 if ((IS_PARAM_SETS_NALS (eNalType) || NAL_UNIT_CODED_SLICE_IDR == eNalType) ||
816 (VIDEO_BITSTREAM_AVC == pDecContext->eVideoType)) {821 (VIDEO_BITSTREAM_AVC == 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