diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-05-23 20:07:00 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-05-23 20:07:00 +0200 |
commit | 08c066cac2efdfcf569e47609e9e1b0a947ce129 (patch) | |
tree | 496864a7aee5d95779a777908d66c65355df58d8 /src/xine-engine/audio_out.h | |
parent | 046552bc9db04ec6296fb8054b5d44270b0b9b0e (diff) | |
download | xine-lib-08c066cac2efdfcf569e47609e9e1b0a947ce129.tar.gz xine-lib-08c066cac2efdfcf569e47609e9e1b0a947ce129.tar.bz2 |
Mark initialisation functions with malloc attribute.
All the initialisation functions returning a new object instance that
was allocated through malloc() or calloc() can get the malloc
attribute so that the compiler can optimise their call.
Diffstat (limited to 'src/xine-engine/audio_out.h')
-rw-r--r-- | src/xine-engine/audio_out.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h index c4581ec24..5f4420363 100644 --- a/src/xine-engine/audio_out.h +++ b/src/xine-engine/audio_out.h @@ -259,7 +259,7 @@ struct audio_driver_class_s { * this initiates the audio_out sync routines * found in ./src/xine-engine/audio_out.c */ -xine_audio_port_t *_x_ao_new_port (xine_t *xine, ao_driver_t *driver, int grab_only) XINE_PROTECTED; +xine_audio_port_t *_x_ao_new_port (xine_t *xine, ao_driver_t *driver, int grab_only) XINE_MALLOC XINE_PROTECTED; /* * audio output modes + capabilities |