diff options
-rw-r--r-- | libaf/af_format.c | 2 | ||||
-rw-r--r-- | libaf/af_format.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libaf/af_format.c b/libaf/af_format.c index 55d151abdf..fb52daca0c 100644 --- a/libaf/af_format.c +++ b/libaf/af_format.c @@ -88,7 +88,7 @@ static int str2fmt(char* str) /* Convert format to str input str is a buffer for the converted string, size is the size of the buffer */ -static char* fmt2str(int format, char* str, size_t size) +char* fmt2str(int format, char* str, size_t size) { int i=0; // Print endinaness diff --git a/libaf/af_format.h b/libaf/af_format.h index 77ad43f676..931a9b88ee 100644 --- a/libaf/af_format.h +++ b/libaf/af_format.h @@ -30,3 +30,6 @@ #define AF_FORMAT_AC3 (4<<3) // Dolby Digital AC3 #define AF_FORMAT_IMA_ADPCM AF_FORMAT_LE|AF_FORMAT_SI // Same as 16 bit signed int #define AF_FORMAT_SPECIAL_MASK (7<<3) + +extern char* fmt2str(int format, char* str, size_t size); + |