mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[mpp_info]: Add funciton to read version string
Change-Id: I66f8c4a3669e3eb6d67289f12db300da149bdcb7 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
parent
641ff2dbf3
commit
8c9f6f75fe
2 changed files with 6 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ extern "C" {
|
|||
#endif /* __cplusplus */
|
||||
|
||||
void show_mpp_version(void);
|
||||
const char *get_mpp_version(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,3 +59,8 @@ void show_mpp_version(void)
|
|||
} else
|
||||
mpp_log("mpp version: %s\n", mpp_version);
|
||||
}
|
||||
|
||||
const char *get_mpp_version(void)
|
||||
{
|
||||
return mpp_version;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue