decoder/ffmpeg: _copy_metadata() returns void
No interest in this return value.
This commit is contained in:
parent
39d52762d1
commit
f370911c15
@ -607,7 +607,7 @@ static const ffmpeg_tag_map ffmpeg_tag_maps[] = {
|
|||||||
{ TAG_DISC, "disc" },
|
{ TAG_DISC, "disc" },
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool
|
static void
|
||||||
ffmpeg_copy_metadata(struct tag *tag,
|
ffmpeg_copy_metadata(struct tag *tag,
|
||||||
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,1,0)
|
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,1,0)
|
||||||
AVDictionary *m,
|
AVDictionary *m,
|
||||||
@ -627,8 +627,6 @@ ffmpeg_copy_metadata(struct tag *tag,
|
|||||||
while ((mt = av_metadata_get(m, tag_map.name, mt, 0)) != NULL)
|
while ((mt = av_metadata_get(m, tag_map.name, mt, 0)) != NULL)
|
||||||
tag_add_item(tag, tag_map.type, mt->value);
|
tag_add_item(tag, tag_map.type, mt->value);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return mt != NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user