summaryrefslogtreecommitdiffstats
path: root/audio/filter/af_hrtf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-23 19:05:47 +0200
committerwm4 <wm4@nowhere>2013-10-23 19:30:01 +0200
commitb08617ff710db2446e59692a7e11336f33a1595b (patch)
tree468362314f5e2d0ce313a6ac9ff784e72094e75f /audio/filter/af_hrtf.c
parenta46453347f40a3e5be72bf8c3a8461a32bd7733f (diff)
downloadmpv-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_hrtf.c')
-rw-r--r--audio/filter/af_hrtf.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/audio/filter/af_hrtf.c b/audio/filter/af_hrtf.c
index 85e6477b31..5b80bf0eec 100644
--- a/audio/filter/af_hrtf.c
+++ b/audio/filter/af_hrtf.c
@@ -3,6 +3,8 @@
* encoded rear channels into headphone signal using FIR filtering
* with HRTF.
*
+ * Author: ylai
+ *
* This file is part of MPlayer.
*
* MPlayer is free software; you can redistribute it and/or modify
@@ -660,10 +662,7 @@ static int af_open(struct af_instance* af)
/* Description of this filter */
struct af_info af_info_hrtf = {
- "HRTF Headphone",
- "hrtf",
- "ylai",
- "",
- AF_FLAGS_REENTRANT,
- af_open
+ .info = "HRTF Headphone",
+ .name = "hrtf",
+ .open = af_open,
};