There's really no reason for adding a typedef for void.
Showing the changes to codec/decoder/core/src/pic_queue.cpp (1 of 55 files). Show all
Unified · Split
| @@ -44,7 +44,7 @@ · 43 unmodified lines | |||
| 44 | 44 | ||
| 45 | namespace WelsDec { | 45 | namespace WelsDec { |
| 46 | 46 | ||
| 47 | void_t FreePicture (PPicture pPic); | 47 | void FreePicture (PPicture pPic); |
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | ///////////////////////////////////Recycled queue management for pictures/////////////////////////////////// | 50 | ///////////////////////////////////Recycled queue management for pictures/////////////////////////////////// |
| @@ -106,7 +106,7 @@ PPicture AllocPicture (PWelsDecoderContext pCtx, const int32_t kiPicWidth, const · 55 unmodified lines | |||
| 106 | return pPic; | 106 | return pPic; |
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | void_t FreePicture (PPicture pPic) { | 109 | void FreePicture (PPicture pPic) { |
| 110 | if (NULL != pPic) { | 110 | if (NULL != pPic) { |
| 111 | 111 | ||
| 112 | if (pPic->pBuffer[0]) { | 112 | if (pPic->pBuffer[0]) { |