summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-02-20 08:47:17 +0100
committerwm4 <wm4@nowhere>2017-02-20 08:47:17 +0100
commit79272e1469a591e753240b5e8e7a3069194759da (patch)
tree6aa363ef3a66f83ae866aeba1cbe4f43eb79ef65 /video
parentc0cbe74912c6a5a2377e1d1f9b0c3dd13d747d0c (diff)
downloadmpv-79272e1469a591e753240b5e8e7a3069194759da.tar.bz2
mpv-79272e1469a591e753240b5e8e7a3069194759da.tar.xz
Fix two typos
They're unrelated. Sue me.
Diffstat (limited to 'video')
-rw-r--r--video/decode/hw_cuda.c2
-rw-r--r--video/out/opengl/utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/video/decode/hw_cuda.c b/video/decode/hw_cuda.c
index 92ba0772c4..d0c7669f25 100644
--- a/video/decode/hw_cuda.c
+++ b/video/decode/hw_cuda.c
@@ -63,7 +63,7 @@ static int init_decoder(struct lavc_ctx *ctx, int w, int h)
// This is proper use of the hw_frames_ctx API, but it does not work
// (appaears to work but fails e.g. with 10 bit). The cuvid wrapper
- // does non-standard things, and it's a meesy situation.
+ // does non-standard things, and it's a messy situation.
/*
hwframe_ctx->width = w;
hwframe_ctx->height = h;
diff --git a/video/out/opengl/utils.c b/video/out/opengl/utils.c
index aa43728cb8..4fbe4053dc 100644
--- a/video/out/opengl/utils.c
+++ b/video/out/opengl/utils.c
@@ -622,7 +622,7 @@ static struct sc_uniform *find_uniform(struct gl_shader_cache *sc,
return &sc->uniforms[sc->num_uniforms - 1];
}
-const char* mp_sampler_type(GLenum texture_target)
+const char *mp_sampler_type(GLenum texture_target)
{
switch (texture_target) {
case GL_TEXTURE_1D: return "sampler1D";