Merge pull request #1692 from mstorsjo/improved-version-function

Add a new public function WelsGetCodecVersionEx
This commit is contained in:
ruil2
2015-01-04 09:14:29 +08:00
4 changed files with 12 additions and 0 deletions

View File

@@ -532,10 +532,16 @@ long WelsCreateDecoder (ISVCDecoder** ppDecoder);
void WelsDestroyDecoder (ISVCDecoder* pDecoder);
/** @brief Get codec version
* Note, this function isn't ABI compatible between MSVC and Mingw.
* @return The linked codec version
*/
OpenH264Version WelsGetCodecVersion (void);
/** @brief Get codec version
* @param pVersion struct to fill in with the version
*/
void WelsGetCodecVersionEx (OpenH264Version *pVersion);
#ifdef __cplusplus
}
#endif