summaryrefslogtreecommitdiffstats
path: root/audio/decode
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-21 19:28:26 +0200
committerwm4 <wm4@nowhere>2014-07-21 19:29:58 +0200
commit967add9f0f5658b449e94cd33c44e72ae8cf76a7 (patch)
tree4ce43536a139896d00c0f3bc2fa736277e7c2d65 /audio/decode
parentd1bb1bf8af7ef483ce745459e15693e87671618d (diff)
downloadmpv-967add9f0f5658b449e94cd33c44e72ae8cf76a7.tar.bz2
mpv-967add9f0f5658b449e94cd33c44e72ae8cf76a7.tar.xz
audio: remove unused metadata field
This was used for replaygain at some point, until replaygain info was passed through explicitly.
Diffstat (limited to 'audio/decode')
-rw-r--r--audio/decode/dec_audio.c2
-rw-r--r--audio/decode/dec_audio.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/audio/decode/dec_audio.c b/audio/decode/dec_audio.c
index b8e14dfbf3..907b154bf8 100644
--- a/audio/decode/dec_audio.c
+++ b/audio/decode/dec_audio.c
@@ -209,8 +209,6 @@ int audio_init_filters(struct dec_audio *d_audio, int in_samplerate,
mp_audio_set_channels(&afs->output, out_channels);
mp_audio_set_format(&afs->output, *out_format);
- afs->metadata = d_audio->metadata;
-
afs->replaygain_data = d_audio->replaygain_data;
char *s_from = mp_audio_config_to_str(&afs->input);
diff --git a/audio/decode/dec_audio.h b/audio/decode/dec_audio.h
index 27c2040947..25afda1390 100644
--- a/audio/decode/dec_audio.h
+++ b/audio/decode/dec_audio.h
@@ -36,7 +36,6 @@ struct dec_audio {
struct mp_audio_buffer *decode_buffer;
struct af_stream *afilter;
char *decoder_desc;
- struct mp_tags *metadata;
struct replaygain_data *replaygain_data;
// set by decoder
struct mp_audio decoded; // format of decoded audio (no data, temporarily