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_lavrresample.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'audio/filter/af_lavrresample.c') diff --git a/audio/filter/af_lavrresample.c b/audio/filter/af_lavrresample.c index 142eb35e6a..0c2d20b8aa 100644 --- a/audio/filter/af_lavrresample.c +++ b/audio/filter/af_lavrresample.c @@ -3,6 +3,7 @@ * Copyright (c) 2013 Stefano Pigozzi * * This file is part of mpv. + * Based on Michael Niedermayer's lavcresample. * * MPlayer is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -370,12 +371,9 @@ static int af_open(struct af_instance *af) #define OPT_BASE_STRUCT struct af_resample struct af_info af_info_lavrresample = { - "Sample frequency conversion using libavresample", - "lavrresample", - "Stefano Pigozzi (based on Michael Niedermayer's lavcresample)", - "", - AF_FLAGS_REENTRANT, - af_open, + .info = "Sample frequency conversion using libavresample", + .name = "lavrresample", + .open = af_open, .test_conversion = test_conversion, .priv_size = sizeof(struct af_resample), .priv_defaults = &(const struct af_resample) { -- cgit v1.2.3