summaryrefslogtreecommitdiffstats
path: root/audio/decode
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-01-31 04:21:02 +0100
committerwm4 <wm4@nowhere>2018-02-01 10:21:55 +0100
commit8b3306924d1b80ed85907449ffa2549946e8b137 (patch)
treec4696b0af7fb2ef363d40696b370e6ce24c3b275 /audio/decode
parent4b567aeac8d1741b14bf2ee363a5434a4877565e (diff)
downloadmpv-8b3306924d1b80ed85907449ffa2549946e8b137.tar.bz2
mpv-8b3306924d1b80ed85907449ffa2549946e8b137.tar.xz
codecs: remove unused family field
MPlayer used this to distinguish multiple decoder wrappers (such as libavcodec vs. binary codec loader vs. builtin decoders). It lost meaning in mpv as non-libavcodec things were dropped. Now it doesn't serve any purpose anymore. Parsing was removed quite a while ago, and the recent filter change removed any use of the internal family field. Get rid of it.
Diffstat (limited to 'audio/decode')
-rw-r--r--audio/decode/ad_spdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decode/ad_spdif.c b/audio/decode/ad_spdif.c
index c97c62ddaa..0706b11614 100644
--- a/audio/decode/ad_spdif.c
+++ b/audio/decode/ad_spdif.c
@@ -378,7 +378,7 @@ struct mp_decoder_list *select_spdif_codec(const char *codec, const char *pref)
const char *suffix_name = dts_hd_allowed ? "dts_hd" : codec;
char name[80];
snprintf(name, sizeof(name), "spdif_%s", suffix_name);
- mp_add_decoder(list, "spdif", codec, name,
+ mp_add_decoder(list, codec, name,
"libavformat/spdifenc audio pass-through decoder");
return list;
}