aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/mp3_plugin.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/decoder/mp3_plugin.c b/src/decoder/mp3_plugin.c
index 4729a267d..2b39a4162 100644
--- a/src/decoder/mp3_plugin.c
+++ b/src/decoder/mp3_plugin.c
@@ -1022,8 +1022,15 @@ mp3_read(struct mp3_data *data, struct replay_gain_info **replay_gain_info_r)
bool skip = false;
do {
- ret = decode_next_frame_header(data, NULL,
+ struct tag *tag = NULL;
+
+ ret = decode_next_frame_header(data, &tag,
replay_gain_info_r);
+
+ if (tag != NULL) {
+ decoder_tag(decoder, data->input_stream, tag);
+ tag_free(tag);
+ }
} while (ret == DECODE_CONT);
if (ret == DECODE_BREAK)
return false;