summaryrefslogtreecommitdiffstats
path: root/video/sws_utils.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-01 17:33:11 +0100
committerwm4 <wm4@nowhere>2013-11-01 17:35:38 +0100
commite0b6fdeb8d9a54c357ff9fbf552e1ff4b6282282 (patch)
tree34e5fda2e7e7d2d16dfa41c749f98bcad323f4da /video/sws_utils.h
parent4b6c00c50ad7739c024662be0321eef8015b5829 (diff)
downloadmpv-e0b6fdeb8d9a54c357ff9fbf552e1ff4b6282282.tar.bz2
mpv-e0b6fdeb8d9a54c357ff9fbf552e1ff4b6282282.tar.xz
Fix some more -Wshadow warnings
These aren't printed with newer gcc or clang versions for some reason. All of them seem to be about local variables shadowing global functions.
Diffstat (limited to 'video/sws_utils.h')
-rw-r--r--video/sws_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/sws_utils.h b/video/sws_utils.h
index 6183d5e88e..d6ea4b15b3 100644
--- a/video/sws_utils.h
+++ b/video/sws_utils.h
@@ -47,7 +47,7 @@ struct mp_sws_context {
struct mp_sws_context *cached;
};
-struct mp_sws_context *mp_sws_alloc(void *talloc_parent);
+struct mp_sws_context *mp_sws_alloc(void *talloc_ctx);
int mp_sws_reinit(struct mp_sws_context *ctx);
void mp_sws_set_from_cmdline(struct mp_sws_context *ctx);
int mp_sws_scale(struct mp_sws_context *ctx, struct mp_image *dst,