aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 14:36:22 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 14:36:22 +0200
commit9326ce53ecd225269147109d87af763fc3846ddf (patch)
tree510b468db4f9007502516c1bf7dc8db65c655da6 /src/decoder
parentfcb7233b25f21c15e132a9c0e0de5ab5b4f492c7 (diff)
parentd8217c364a182a12fb8abd19732341af1515ffb0 (diff)
downloadmpd-9326ce53ecd225269147109d87af763fc3846ddf.tar.gz
mpd-9326ce53ecd225269147109d87af763fc3846ddf.tar.xz
mpd-9326ce53ecd225269147109d87af763fc3846ddf.zip
Merge tag 'release-0.17.5'
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/FfmpegDecoderPlugin.cxx1
-rw-r--r--src/decoder/MikmodDecoderPlugin.cxx4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/decoder/FfmpegDecoderPlugin.cxx b/src/decoder/FfmpegDecoderPlugin.cxx
index f42fc36a3..89e57c874 100644
--- a/src/decoder/FfmpegDecoderPlugin.cxx
+++ b/src/decoder/FfmpegDecoderPlugin.cxx
@@ -586,6 +586,7 @@ static const char *const ffmpeg_suffixes[] = {
};
static const char *const ffmpeg_mime_types[] = {
+ "application/flv",
"application/m4a",
"application/mp4",
"application/octet-stream",
diff --git a/src/decoder/MikmodDecoderPlugin.cxx b/src/decoder/MikmodDecoderPlugin.cxx
index b7d113265..f9896ef98 100644
--- a/src/decoder/MikmodDecoderPlugin.cxx
+++ b/src/decoder/MikmodDecoderPlugin.cxx
@@ -199,7 +199,11 @@ mikmod_decoder_scan_file(const char *path_fs,
if (title != nullptr) {
tag_handler_invoke_tag(handler, handler_ctx,
TAG_TITLE, title);
+#if (LIBMIKMOD_VERSION >= 0x030200)
+ MikMod_free(title);
+#else
free(title);
+#endif
}
return true;