summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_out.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-23 20:07:00 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-23 20:07:00 +0200
commit08c066cac2efdfcf569e47609e9e1b0a947ce129 (patch)
tree496864a7aee5d95779a777908d66c65355df58d8 /src/xine-engine/audio_out.c
parent046552bc9db04ec6296fb8054b5d44270b0b9b0e (diff)
downloadxine-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.c')
-rw-r--r--src/xine-engine/audio_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c
index 30756b017..d28c45ea6 100644
--- a/src/xine-engine/audio_out.c
+++ b/src/xine-engine/audio_out.c
@@ -290,7 +290,7 @@ struct audio_fifo_s {
static int ao_get_property (xine_audio_port_t *this_gen, int property);
static int ao_set_property (xine_audio_port_t *this_gen, int property, int value);
-static audio_fifo_t *fifo_new (xine_t *xine) {
+static audio_fifo_t *XINE_MALLOC fifo_new (xine_t *xine) {
audio_fifo_t *fifo;