summaryrefslogtreecommitdiffstats
path: root/libmpdemux/muxer_mpeg.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-17 22:28:24 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-17 22:28:24 +0000
commit9905880267cacb259eb11cc7cdbdfbb4d7149325 (patch)
tree5a8d747a73b6e80a19c07ff3342d9f3f5e723be2 /libmpdemux/muxer_mpeg.c
parent2df3416d32c3e1732bbf96a8b020792db40ad7a2 (diff)
downloadmpv-9905880267cacb259eb11cc7cdbdfbb4d7149325.tar.bz2
mpv-9905880267cacb259eb11cc7cdbdfbb4d7149325.tar.xz
Add separate header for aac_parse_frame(); avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30616 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/muxer_mpeg.c')
-rw-r--r--libmpdemux/muxer_mpeg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpdemux/muxer_mpeg.c b/libmpdemux/muxer_mpeg.c
index 20b552a96e..faa5eb4bf5 100644
--- a/libmpdemux/muxer_mpeg.c
+++ b/libmpdemux/muxer_mpeg.c
@@ -34,6 +34,7 @@
#include "demuxer.h"
#include "stheader.h"
#include "m_option.h"
+#include "aac_hdr.h"
#include "mpeg_hdr.h"
#include "mp3_hdr.h"
#include "liba52/a52.h"
@@ -2067,8 +2068,6 @@ static int analyze_mpa(muxer_stream_t *s)
return layer; //actual layer with the highest score
}
-int aac_parse_frame(uint8_t *buf, int *srate, int *num);
-
static int parse_audio(muxer_stream_t *s, int finalize, unsigned int *nf, double *timer, double delay, int drop)
{
int i, j, len, chans, srate, spf, layer, dummy, tot, num, frm_idx;