Add void to the parameter list of WelsGetCodecVersion
When the header is used from C instead of C++, an empty parameter list means that it can take any number of parameters, and can cause warnings like "function declaration isn’t a prototype" with some C compilers. Clarify this by explicitly adding void to this function.
This commit is contained in:
parent
47d8a840c0
commit
ba314d16e7
@ -534,7 +534,7 @@ void WelsDestroyDecoder (ISVCDecoder* pDecoder);
|
||||
/** @brief Get codec version
|
||||
* @return The linked codec version
|
||||
*/
|
||||
OpenH264Version WelsGetCodecVersion ();
|
||||
OpenH264Version WelsGetCodecVersion (void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user