! ************************************************************************************* * \brief Initialize Wels decoder parameters and memory * * \param pCtx input context to be initialized at first stage * * \return 0 - successed * \return 1 - failed * * \note N/A ************************************************************************************* */
| 688 | ************************************************************************************* |
| 689 | */ |
| 690 | int32_t WelsInitDecoder (PWelsDecoderContext pCtx, SLogContext* pLogCtx) { |
| 691 | if (pCtx == NULL) { |
| 692 | return ERR_INFO_INVALID_PTR; |
| 693 | } |
| 694 | |
| 695 | // open decoder |
| 696 | return WelsOpenDecoder (pCtx, pLogCtx); |
| 697 | } |
| 698 | |
| 699 | /*! |
| 700 | ************************************************************************************* |
no test coverage detected