| 65 | } |
| 66 | |
| 67 | void UninitDecoder (PWelsDecoderContext& pCtx) { |
| 68 | if (NULL == pCtx) |
| 69 | return; |
| 70 | |
| 71 | WelsEndDecoder (pCtx); |
| 72 | if (NULL != pCtx->pMemAlign) { |
| 73 | delete pCtx->pMemAlign; |
| 74 | pCtx->pMemAlign = NULL; |
| 75 | } |
| 76 | if (NULL != pCtx) { |
| 77 | free (pCtx); |
| 78 | pCtx = NULL; |
| 79 | } |
| 80 | |
| 81 | } |
| 82 | |
| 83 | int32_t InitDecoder (const SDecodingParam* pParam, PWelsDecoderContext pCtx, SLogContext* pLogCtx) { |
| 84 |
no test coverage detected