aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-02-03 08:59:26 +0100
committerMax Kellermann <max@duempel.org>2012-02-03 08:59:26 +0100
commitf370911c15476c4d69895b6de76dca942dd99c2c (patch)
treea2b643baee2c0636893310dadf4f7de2184f5e7d
parent39d52762d15fadb892d2d9163bc6b763e99b70f8 (diff)
downloadmpd-f370911c15476c4d69895b6de76dca942dd99c2c.tar.gz
mpd-f370911c15476c4d69895b6de76dca942dd99c2c.tar.xz
mpd-f370911c15476c4d69895b6de76dca942dd99c2c.zip
decoder/ffmpeg: _copy_metadata() returns void
No interest in this return value.
-rw-r--r--src/decoder/ffmpeg_decoder_plugin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c
index 8f4cf8c12..29bf804f1 100644
--- a/src/decoder/ffmpeg_decoder_plugin.c
+++ b/src/decoder/ffmpeg_decoder_plugin.c
@@ -607,7 +607,7 @@ static const ffmpeg_tag_map ffmpeg_tag_maps[] = {
{ TAG_DISC, "disc" },
};
-static bool
+static void
ffmpeg_copy_metadata(struct tag *tag,
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,1,0)
AVDictionary *m,
@@ -627,8 +627,6 @@ ffmpeg_copy_metadata(struct tag *tag,
while ((mt = av_metadata_get(m, tag_map.name, mt, 0)) != NULL)
tag_add_item(tag, tag_map.type, mt->value);
#endif
-
- return mt != NULL;
}
#endif