aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_list.c
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2008-10-17 22:27:33 +0200
committerMax Kellermann <max@duempel.org>2008-10-17 22:27:33 +0200
commit11ad9971415c18dfb8f2042b65da31d0102b8c91 (patch)
tree96cf617ba830f1c4037f10bd6bdf1eb8135f405f /src/decoder_list.c
parent4ee8da2e694d29efef5f6311d3bf8504d474918f (diff)
downloadmpd-11ad9971415c18dfb8f2042b65da31d0102b8c91.tar.gz
mpd-11ad9971415c18dfb8f2042b65da31d0102b8c91.tar.xz
mpd-11ad9971415c18dfb8f2042b65da31d0102b8c91.zip
ffmpeg: new decoder plugin
[mk: fixed indent, changed copyright statement, added autoconf test, fixed includes paths, fixed 2 gcc warnings, don't close input stream twice]
Diffstat (limited to 'src/decoder_list.c')
-rw-r--r--src/decoder_list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoder_list.c b/src/decoder_list.c
index 4aab73bda..252418154 100644
--- a/src/decoder_list.c
+++ b/src/decoder_list.c
@@ -30,6 +30,7 @@ extern struct decoder_plugin aacPlugin;
extern struct decoder_plugin mpcPlugin;
extern struct decoder_plugin wavpackPlugin;
extern struct decoder_plugin modPlugin;
+extern struct decoder_plugin ffmpegPlugin;
static List *inputPlugin_list;
@@ -179,6 +180,9 @@ void decoder_plugin_init_all(void)
#ifdef HAVE_MIKMOD
decoder_plugin_load(&modPlugin);
#endif
+#ifdef HAVE_FFMPEG
+ decoder_plugin_load(&ffmpegPlugin);
+#endif
}
void decoder_plugin_deinit_all(void)