Commit 88c17926 authored by Max Kellermann's avatar Max Kellermann

decoder/mp4ff: delete obsolete plugin

The underlying library has been obsolete for many years.
parent 541192c9
...@@ -91,7 +91,7 @@ Audio File - http://www.68k.org/~michael/audiofile/ ...@@ -91,7 +91,7 @@ Audio File - http://www.68k.org/~michael/audiofile/
For WAVE, AIFF, and AU support. You will need libaudiofile. For WAVE, AIFF, and AU support. You will need libaudiofile.
FAAD2 - http://www.audiocoding.com/ FAAD2 - http://www.audiocoding.com/
For MP4/AAC support. You will need libmp4ff. For MP4/AAC support.
libmpcdec - http://www.musepack.net/ libmpcdec - http://www.musepack.net/
For Musepack support. For Musepack support.
......
...@@ -499,7 +499,6 @@ DECODER_LIBS = \ ...@@ -499,7 +499,6 @@ DECODER_LIBS = \
$(MAD_LIBS) \ $(MAD_LIBS) \
$(MPG123_LIBS) \ $(MPG123_LIBS) \
$(OPUS_LIBS) \ $(OPUS_LIBS) \
$(MP4FF_LIBS) \
$(FFMPEG_LIBS) \ $(FFMPEG_LIBS) \
$(MPCDEC_LIBS) \ $(MPCDEC_LIBS) \
$(ADPLUG_LIBS) \ $(ADPLUG_LIBS) \
...@@ -549,10 +548,6 @@ if HAVE_FAAD ...@@ -549,10 +548,6 @@ if HAVE_FAAD
libdecoder_plugins_a_SOURCES += src/decoder/faad_decoder_plugin.c libdecoder_plugins_a_SOURCES += src/decoder/faad_decoder_plugin.c
endif endif
if HAVE_MP4
libdecoder_plugins_a_SOURCES += src/decoder/mp4ff_decoder_plugin.c
endif
if HAVE_XIPH if HAVE_XIPH
libdecoder_plugins_a_SOURCES += \ libdecoder_plugins_a_SOURCES += \
src/decoder/XiphTags.c src/decoder/XiphTags.h \ src/decoder/XiphTags.c src/decoder/XiphTags.h \
......
...@@ -5,6 +5,7 @@ ver 0.18 (2012/??/??) ...@@ -5,6 +5,7 @@ ver 0.18 (2012/??/??)
- flac: support FLAC files inside archives - flac: support FLAC files inside archives
- opus: new decoder plugin for the Opus codec - opus: new decoder plugin for the Opus codec
- vorbis: skip 16 bit quantisation, provide float samples - vorbis: skip 16 bit quantisation, provide float samples
- mp4ff: obsolete plugin removed
* encoder: * encoder:
- opus: new encoder plugin for the Opus codec - opus: new encoder plugin for the Opus codec
- vorbis: accept floating point input samples - vorbis: accept floating point input samples
......
...@@ -872,7 +872,6 @@ dnl ----------------------------------- FAAD ---------------------------------- ...@@ -872,7 +872,6 @@ dnl ----------------------------------- FAAD ----------------------------------
AM_PATH_FAAD() AM_PATH_FAAD()
AM_CONDITIONAL(HAVE_FAAD, test x$enable_aac = xyes) AM_CONDITIONAL(HAVE_FAAD, test x$enable_aac = xyes)
AM_CONDITIONAL(HAVE_MP4, test x$enable_mp4 = xyes)
dnl ---------------------------------- ffmpeg --------------------------------- dnl ---------------------------------- ffmpeg ---------------------------------
MPD_AUTO_PKG(ffmpeg, FFMPEG, [libavformat >= 52.31 libavcodec >= 52.20 libavutil >= 49.15], MPD_AUTO_PKG(ffmpeg, FFMPEG, [libavformat >= 52.31 libavcodec >= 52.20 libavutil >= 49.15],
...@@ -1148,7 +1147,6 @@ if ...@@ -1148,7 +1147,6 @@ if
test x$enable_mad = xno && test x$enable_mad = xno &&
test x$enable_mikmod = xno; then test x$enable_mikmod = xno; then
test x$enable_modplug = xno && test x$enable_modplug = xno &&
test x$enable_mp4 = xno &&
test x$enable_mpc = xno && test x$enable_mpc = xno &&
test x$enable_mpg123 = xno && test x$enable_mpg123 = xno &&
test x$enable_opus = xno && test x$enable_opus = xno &&
...@@ -1639,7 +1637,6 @@ results(mikmod, [MikMod]) ...@@ -1639,7 +1637,6 @@ results(mikmod, [MikMod])
results(modplug, [MODPLUG]) results(modplug, [MODPLUG])
results(mad, [MAD]) results(mad, [MAD])
results(mpg123, [MPG123]) results(mpg123, [MPG123])
results(mp4, [MP4])
results(mpc, [Musepack]) results(mpc, [Musepack])
printf '\n\t' printf '\n\t'
results(opus, [Opus]) results(opus, [Opus])
......
...@@ -158,40 +158,6 @@ int main() { ...@@ -158,40 +158,6 @@ int main() {
CPPFLAGS=$oldcppflags CPPFLAGS=$oldcppflags
fi fi
if test x$enable_aac = xyes; then
enable_mp4=yes
MP4FF_LIBS="-lmp4ff"
oldcflags=$CFLAGS
oldlibs=$LIBS
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $FAAD_CFLAGS"
LIBS="$LIBS $FAAD_LIBS $MP4FF_LIBS"
CPPFLAGS=$CFLAGS
AC_CHECK_HEADER(mp4ff.h,,enable_mp4=no)
if test x$enable_mp4 = xyes; then
AC_CHECK_LIB(mp4ff,mp4ff_open_read,,enable_mp4=no)
fi
if test x$enable_mp4 = xyes; then
AC_SUBST(MP4FF_LIBS)
AC_DEFINE(HAVE_MP4, 1, [Define to use FAAD2+mp4ff for MP4 decoding])
else
AC_MSG_WARN([libmp4ff needed for MP4 support -- disabling MP4 support])
unset MP4FF_LIBS
fi
CFLAGS=$oldcflags
LIBS=$oldlibs
CPPFLAGS=$oldcppflags
else
enable_mp4=no
FAAD_CFLAGS=""
FAAD_LIBS=""
fi
AC_SUBST(FAAD_CFLAGS) AC_SUBST(FAAD_CFLAGS)
AC_SUBST(FAAD_LIBS) AC_SUBST(FAAD_LIBS)
......
...@@ -40,7 +40,6 @@ extern const struct decoder_plugin mad_decoder_plugin; ...@@ -40,7 +40,6 @@ extern const struct decoder_plugin mad_decoder_plugin;
extern const struct decoder_plugin mpg123_decoder_plugin; extern const struct decoder_plugin mpg123_decoder_plugin;
extern const struct decoder_plugin sndfile_decoder_plugin; extern const struct decoder_plugin sndfile_decoder_plugin;
extern const struct decoder_plugin audiofile_decoder_plugin; extern const struct decoder_plugin audiofile_decoder_plugin;
extern const struct decoder_plugin mp4ff_decoder_plugin;
extern const struct decoder_plugin faad_decoder_plugin; extern const struct decoder_plugin faad_decoder_plugin;
extern const struct decoder_plugin mpcdec_decoder_plugin; extern const struct decoder_plugin mpcdec_decoder_plugin;
extern const struct decoder_plugin modplug_decoder_plugin; extern const struct decoder_plugin modplug_decoder_plugin;
...@@ -80,9 +79,6 @@ const struct decoder_plugin *const decoder_plugins[] = { ...@@ -80,9 +79,6 @@ const struct decoder_plugin *const decoder_plugins[] = {
#ifdef HAVE_FAAD #ifdef HAVE_FAAD
&faad_decoder_plugin, &faad_decoder_plugin,
#endif #endif
#ifdef HAVE_MP4
&mp4ff_decoder_plugin,
#endif
#ifdef HAVE_MPCDEC #ifdef HAVE_MPCDEC
&mpcdec_decoder_plugin, &mpcdec_decoder_plugin,
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment