Mercurial > mplayer.hg
changeset 8994:06d7ef3c7b01
export fmt2str()
author | arpi |
---|---|
date | Sat, 18 Jan 2003 17:31:58 +0000 |
parents | a6615e7bc710 |
children | 865cbed58cf8 |
files | libaf/af_format.c libaf/af_format.h |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af_format.c Sat Jan 18 17:31:22 2003 +0000 +++ b/libaf/af_format.c Sat Jan 18 17:31:58 2003 +0000 @@ -88,7 +88,7 @@ /* 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
--- a/libaf/af_format.h Sat Jan 18 17:31:22 2003 +0000 +++ b/libaf/af_format.h Sat Jan 18 17:31:58 2003 +0000 @@ -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); +