diff options
author | Max Kellermann <max@duempel.org> | 2014-12-21 20:51:41 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-21 20:51:41 +0100 |
commit | 90b91ead721e3ba65c3e8312436c9270233538a3 (patch) | |
tree | 115c04004464d2a6e642329213fdaa83f2976563 /src/decoder/plugins/FfmpegDecoderPlugin.cxx | |
parent | 1e98e41381a6ca3ff662236b861bd39602b44dc7 (diff) | |
download | mpd-90b91ead721e3ba65c3e8312436c9270233538a3.tar.gz mpd-90b91ead721e3ba65c3e8312436c9270233538a3.tar.xz mpd-90b91ead721e3ba65c3e8312436c9270233538a3.zip |
decoder/ffmpeg: move code to lib/ffmpeg/Init.cxx
Diffstat (limited to 'src/decoder/plugins/FfmpegDecoderPlugin.cxx')
-rw-r--r-- | src/decoder/plugins/FfmpegDecoderPlugin.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx index fcd33a790..36b13a4d1 100644 --- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx +++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx @@ -26,7 +26,7 @@ #include "lib/ffmpeg/Domain.hxx" #include "lib/ffmpeg/Error.hxx" #include "lib/ffmpeg/LogError.hxx" -#include "lib/ffmpeg/LogCallback.hxx" +#include "lib/ffmpeg/Init.hxx" #include "lib/ffmpeg/Buffer.hxx" #include "../DecoderAPI.hxx" #include "FfmpegMetaData.hxx" @@ -79,9 +79,7 @@ mpd_ffmpeg_open_input(AVFormatContext **ic_ptr, static bool ffmpeg_init(gcc_unused const config_param ¶m) { - av_log_set_callback(FfmpegLogCallback); - - av_register_all(); + FfmpegInit(); return true; } |