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]
This commit is contained in:

committed by
Max Kellermann

parent
4ee8da2e69
commit
11ad997141
@@ -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)
|
||||
|
Reference in New Issue
Block a user