diff options
author | wm4 <wm4@nowhere> | 2013-07-23 00:45:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-23 00:45:23 +0200 |
commit | e83cbde1a4b816a64cefde1fb8bdbac403079600 (patch) | |
tree | 1ac71b13723174ab48465915fd5e9916faa7df35 /audio/filter/af.c | |
parent | 78ebb3c6fa637206bb369349ba93328b36895e2b (diff) | |
download | mpv-e83cbde1a4b816a64cefde1fb8bdbac403079600.tar.bz2 mpv-e83cbde1a4b816a64cefde1fb8bdbac403079600.tar.xz |
Fix some -Wshadow warnings
In general, this warning can hint to actual bugs. We don't enable it
yet, because it would conflict with some unmerged code, and we should
check with clang too (this commit was done by testing with gcc).
Diffstat (limited to 'audio/filter/af.c')
-rw-r--r-- | audio/filter/af.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/filter/af.c b/audio/filter/af.c index 3737228ddf..91f3e907f1 100644 --- a/audio/filter/af.c +++ b/audio/filter/af.c @@ -204,9 +204,9 @@ static struct af_instance *af_create(struct af_stream *s, char *name, goto error; if (args && af->control) { // Single option string for old filters - char *s = (char *)args; // m_config_initialize_obj did this + char *opts = (char *)args; // m_config_initialize_obj did this assert(!af->priv); - if (af->control(af, AF_CONTROL_COMMAND_LINE, s) <= AF_ERROR) + if (af->control(af, AF_CONTROL_COMMAND_LINE, opts) <= AF_ERROR) goto error; } |