From f370911c15476c4d69895b6de76dca942dd99c2c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 3 Feb 2012 08:59:26 +0100 Subject: decoder/ffmpeg: _copy_metadata() returns void No interest in this return value. --- src/decoder/ffmpeg_decoder_plugin.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/decoder/ffmpeg_decoder_plugin.c') 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 -- cgit v1.2.3