From 8b3306924d1b80ed85907449ffa2549946e8b137 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 31 Jan 2018 04:21:02 +0100 Subject: 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. --- common/av_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/av_common.c') diff --git a/common/av_common.c b/common/av_common.c index 0599d98465..0981e919e1 100644 --- a/common/av_common.c +++ b/common/av_common.c @@ -227,7 +227,7 @@ void mp_add_lavc_decoders(struct mp_decoder_list *list, enum AVMediaType type) if (!cur) break; if (av_codec_is_decoder(cur) && cur->type == type) { - mp_add_decoder(list, "lavc", mp_codec_from_av_codec_id(cur->id), + mp_add_decoder(list, mp_codec_from_av_codec_id(cur->id), cur->name, cur->long_name); } } @@ -242,7 +242,7 @@ void mp_add_lavc_encoders(struct mp_decoder_list *list) if (!cur) break; if (av_codec_is_encoder(cur)) { - mp_add_decoder(list, "lavc", mp_codec_from_av_codec_id(cur->id), + mp_add_decoder(list, mp_codec_from_av_codec_id(cur->id), cur->name, cur->long_name); } } -- cgit v1.2.3