diff options
author | anders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-31 05:42:20 +0000 |
---|---|---|
committer | anders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-31 05:42:20 +0000 |
commit | ec6de0f24a4854e25c2ea9466561c93ec90937c0 (patch) | |
tree | 04df109bf6bf94d0abbdf5ff2a83a314c4d35813 /libaf/af.h | |
parent | 630d1fcf9446e32a159502d56beae4acec8d7a3c (diff) | |
download | mpv-ec6de0f24a4854e25c2ea9466561c93ec90937c0.tar.bz2 mpv-ec6de0f24a4854e25c2ea9466561c93ec90937c0.tar.xz |
10l memory leak + bug fixes in ms to sample time conversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8675 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/af.h')
-rw-r--r-- | libaf/af.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libaf/af.h b/libaf/af.h index 48dfbc5b17..79a14a7c13 100644 --- a/libaf/af.h +++ b/libaf/af.h @@ -187,9 +187,9 @@ int af_from_dB(int n, float* in, float* out, float k, float mi, float ma); AF_OK if of and AF_ERROR if fail */ int af_to_dB(int n, float* in, float* out, float k); /* Helper function used to convert from ms to sample time*/ -int af_from_ms(int n, float* in, float* out, int rate, float mi, float ma); +int af_from_ms(int n, float* in, int* out, int rate, float mi, float ma); /* Helper function used to convert from sample time to ms */ -int af_to_ms(int n, float* in, float* out, int rate); +int af_to_ms(int n, int* in, float* out, int rate); /* Helper function for testing the output format */ int af_test_output(struct af_instance_s* af, af_data_t* out); |