From 51c59f622872c7fb028c121cc74300de34a80783 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 18 Feb 2009 18:39:12 +0100 Subject: mp4ff: use faacDecInit2() to find the AAC track Use faacDecInit2() instead of AudioSpecificConfig() to detect the AAC track in the MP4 file. This has a great advantage: it initializes the libfaad decoder, which the caller would normally do anyway - but now we can go without the AudioSpecificConfig() call. When decoder==NULL (called from mp4_tag_dup()), fall back to a mp4ff_get_track_type()==1 check, like other audio players do. --- configure.ac | 1 - 1 file changed, 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 61c821604..3b60f4b51 100644 --- a/configure.ac +++ b/configure.ac @@ -812,7 +812,6 @@ int main() { ]) fi if test x$enable_aac = xyes; then - AC_CHECK_TYPES(mp4AudioSpecificConfig,,,[#include ]) AC_CHECK_MEMBERS([faacDecConfiguration.downMatrix,faacDecConfiguration.dontUpSampleImplicitSBR,faacDecFrameInfo.samplerate],,,[#include ]) AC_DEFINE(HAVE_FAAD,1,[Define to use FAAD2 for AAC decoding]) else -- cgit v1.2.3