History

Use void instead of void_t

There's really no reason for adding a typedef for void.

Martin Storsjö committed 12 years ago

Commit 7b96c671 parent 2b77fe755 files · +400 −404Browse files

Showing the changes to codec/decoder/core/src/au_parser.cpp (1 of 55 files). Show all

Unified · Split

codec/decoder/core/src/au_parser.cpp+3−3
@@ -559,7 +559,7 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 558 unmodified lines
559 return iErr;559 return iErr;
560}560}
561 561
562void_t ParseRefBasePicMarking (PBitStringAux pBs, PRefBasePicMarking pRefBasePicMarking) {562void ParseRefBasePicMarking (PBitStringAux pBs, PRefBasePicMarking pRefBasePicMarking) {
563 const bool kbAdaptiveMarkingModeFlag = !!BsGetOneBit (pBs);563 const bool kbAdaptiveMarkingModeFlag = !!BsGetOneBit (pBs);
564 pRefBasePicMarking->bAdaptiveRefBasePicMarkingModeFlag = kbAdaptiveMarkingModeFlag;564 pRefBasePicMarking->bAdaptiveRefBasePicMarkingModeFlag = kbAdaptiveMarkingModeFlag;
565 if (kbAdaptiveMarkingModeFlag) {565 if (kbAdaptiveMarkingModeFlag) {
@@ -583,7 +583,7 @@ void_t ParseRefBasePicMarking (PBitStringAux pBs, PRefBasePicMarking pRefBasePic · 17 unmodified lines
583 }583 }
584}584}
585 585
586void_t ParsePrefixNalUnit (PWelsDecoderContext pCtx, PBitStringAux pBs) {586void ParsePrefixNalUnit (PWelsDecoderContext pCtx, PBitStringAux pBs) {
587 PNalUnit pCurNal = &pCtx->sPrefixNal;587 PNalUnit pCurNal = &pCtx->sPrefixNal;
588 588
589 if (pCurNal->sNalHeaderExt.sNalUnitHeader.uiNalRefIdc != 0) {589 if (pCurNal->sNalHeaderExt.sNalUnitHeader.uiNalRefIdc != 0) {
@@ -1030,7 +1030,7 @@ int32_t ParsePps (PWelsDecoderContext pCtx, PPps pPpsList, PBitStringAux pBsAux) · 440 unmodified lines
1030 * \note Call it in case eNalUnitType is NAL_UNIT_SEI.1030 * \note Call it in case eNalUnitType is NAL_UNIT_SEI.
1031 *************************************************************************************1031 *************************************************************************************
1032 */1032 */
1033int32_t ParseSei (void_t* pSei, PBitStringAux pBsAux) { // reserved Sei_Msg type1033int32_t ParseSei (void* pSei, PBitStringAux pBsAux) { // reserved Sei_Msg type
1034 1034
1035 1035
1036 return ERR_NONE;1036 return ERR_NONE;

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