diff options
author | wm4 <wm4@nowhere> | 2013-10-23 19:05:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-23 19:30:01 +0200 |
commit | b08617ff710db2446e59692a7e11336f33a1595b (patch) | |
tree | 468362314f5e2d0ce313a6ac9ff784e72094e75f /audio/filter/af_scaletempo.c | |
parent | a46453347f40a3e5be72bf8c3a8461a32bd7733f (diff) | |
download | mpv-b08617ff710db2446e59692a7e11336f33a1595b.tar.bz2 mpv-b08617ff710db2446e59692a7e11336f33a1595b.tar.xz |
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.
Diffstat (limited to 'audio/filter/af_scaletempo.c')
-rw-r--r-- | audio/filter/af_scaletempo.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/audio/filter/af_scaletempo.c b/audio/filter/af_scaletempo.c index dfc830799b..532c563f97 100644 --- a/audio/filter/af_scaletempo.c +++ b/audio/filter/af_scaletempo.c @@ -507,12 +507,9 @@ static int af_open(struct af_instance* af){ #define OPT_BASE_STRUCT af_scaletempo_t struct af_info af_info_scaletempo = { - "Scale audio tempo while maintaining pitch", - "scaletempo", - "Robert Juliano", - "", - AF_FLAGS_REENTRANT, - af_open, + .info = "Scale audio tempo while maintaining pitch", + .name = "scaletempo", + .open = af_open, .priv_size = sizeof(af_scaletempo_t), .priv_defaults = &(const af_scaletempo_t) { .ms_stride = 60, |