changeset 33847:14b18f6659d7

ae_faac: mark a function as static; add missing ae_faac.h #include libmpcodecs/ae_faac.c:132: warning: no previous prototype for 'close_faac' libmpcodecs/ae_faac.c:137: warning: no previous prototype for 'mpae_init_faac'
author diego
date Wed, 27 Jul 2011 15:33:03 +0000
parents 0b608de512ba
children dc9418215e7d
files libmpcodecs/ae_faac.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ae_faac.c	Wed Jul 27 13:40:19 2011 +0000
+++ b/libmpcodecs/ae_faac.c	Wed Jul 27 15:33:03 2011 +0000
@@ -32,6 +32,7 @@
 #include "libmpdemux/muxer.h"
 #include <faac.h>
 #include "ae.h"
+#include "ae_faac.h"
 
 
 static faacEncHandle faac;
@@ -129,7 +130,7 @@
 	return enc_frame_size;
 }
 
-int close_faac(audio_encoder_t *encoder)
+static int close_faac(audio_encoder_t *encoder)
 {
 	return 1;
 }