From b08617ff710db2446e59692a7e11336f33a1595b Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Oct 2013 19:05:47 +0200 Subject: audio/filter: remove useless af_info fields Drop the author and comment fields. They were completely unused - not even printed in verbose mode, just dead weight. Also use designated initializers and drop redundant flags. --- audio/filter/af_format.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'audio/filter/af_format.c') diff --git a/audio/filter/af_format.c b/audio/filter/af_format.c index 116a039a04..642ef927bb 100644 --- a/audio/filter/af_format.c +++ b/audio/filter/af_format.c @@ -128,12 +128,9 @@ static int af_open(struct af_instance *af) #define OPT_BASE_STRUCT struct priv struct af_info af_info_format = { - "Force audio format", - "format", - "", - "", - 0, - af_open, + .info = "Force audio format", + .name = "format", + .open = af_open, .priv_size = sizeof(struct priv), .options = (const struct m_option[]) { OPT_AUDIOFORMAT("format", in_format, 0), -- cgit v1.2.3