summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-07-28 23:50:26 +0200
committerwm4 <wm4@mplayer2.org>2012-07-28 23:51:38 +0200
commit806461c5b645068752292cf19c273dae2ebd9e19 (patch)
tree78cf65beff859bfc86cace492f32c02816d4ba7f
parent08caadb9c0b3c9070f2e5cb7f883f43d6cd5590e (diff)
downloadmpv-806461c5b645068752292cf19c273dae2ebd9e19.tar.bz2
mpv-806461c5b645068752292cf19c273dae2ebd9e19.tar.xz
ad_faad: include neaacdec.h instead of faad.h
The faad.h header printed a warning that this header is outdated. The header neaacdec.h is probably the proper header, so use that.
-rwxr-xr-xconfigure2
-rw-r--r--libmpcodecs/ad_faad.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 3ada3af99f..542c6ba416 100755
--- a/configure
+++ b/configure
@@ -4770,7 +4770,7 @@ echocheck "FAAD2 support"
if test "$_faad" = auto ; then
_faad=no
cat > $TMPC << EOF
-#include <faad.h>
+#include <neaacdec.h>
#ifndef FAAD_MIN_STREAMSIZE
#error Too old version
#endif
diff --git a/libmpcodecs/ad_faad.c b/libmpcodecs/ad_faad.c
index be074d99be..d750f2ff30 100644
--- a/libmpcodecs/ad_faad.c
+++ b/libmpcodecs/ad_faad.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-#include <faad.h>
+#include <neaacdec.h>
#include "config.h"
#include "options.h"