[core,codecs] fix freerdp_codec_id_to_str

Use UINT32 as argument instead of enum RDP_CODEC_ID as the value might
be an invalid value in the enum.
This commit is contained in:
akallabeth
2026-01-09 09:09:38 +01:00
parent cb53de0733
commit 9fc9181473
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ extern "C"
* @return The name of the codecid
* @since version 3.18.0
*/
FREERDP_API const char* freerdp_codec_id_to_str(enum RDP_CODEC_ID id);
FREERDP_API const char* freerdp_codec_id_to_str(UINT32 id);
#ifdef __cplusplus
}