opus/tests
Ralph Giles 4784e0717e Fix malloc_hook warning on glibc 2.17 and later.
In glib 2.17 the __malloc_ptr define was removed in favour
of using void* directly. Our declaration of mhook using this
type for the second argument therefore rightly generates a warning
on modern systems, since the type is assumed to be an int, which
is too narrow to hold a pointer on 64 bit architectures.

Since it was only ever a define we could use an #ifndef to define
__malloc_ptr ourselves. However we only use it once, so using void*
in the signature directly is cleaner. This should cause no problems
on older systems where it will match either the void* or the char*
(for non __STDC__ code) the define resolved to.
2014-01-14 11:07:37 -08:00
..
run_vectors.sh Check if opus_compare is executable in run_vectors.sh 2013-05-27 11:21:31 -04:00
test_opus_api.c Fix malloc_hook warning on glibc 2.17 and later. 2014-01-14 11:07:37 -08:00
test_opus_common.h Replace "inline" with OPUS_INLINE. 2013-10-28 10:18:54 -07:00
test_opus_decode.c Put custom_encoder_init decl behind CUSTOM_MODES. More softclip tests. 2013-11-24 06:49:01 -08:00
test_opus_encode.c Add some multistream resets to the tests. 2013-11-22 10:30:30 -08:00
test_opus_padding.c Add copyright header to test_opus_padding.c. 2013-11-21 11:31:09 +13:00