History

Fix Bug 1479670 OpenH264: member access within null pointer of type 'struct TagSliceHeaders' in codec/decoder/core/src/decoder_core.cpp

xiaotiansf committed 8 years ago

Commit ae7bac21 parent e9980921 file · +3 −1Browse files

Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 1 file). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+3−1
@@ -526,7 +526,9 @@ int32_t ParseDecRefPicMarking (PWelsDecoderContext pCtx, PBitStringAux pBs, PSli · 525 unmodified lines
526526
527527 pCtx->iPrevPicOrderCntLsb = 0;
528528 pCtx->iPrevPicOrderCntMsb = 0;
529− pCtx->pSliceHeader->iPicOrderCntLsb = 0;
529+ pSh->iPicOrderCntLsb = 0;
530+ if (pCtx->pSliceHeader)
531+ pCtx->pSliceHeader->iPicOrderCntLsb = 0;
530532 }
531533 ++ iIdx;
532534

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