Fix two typos

They're unrelated. Sue me.
This commit is contained in:
wm4 2017-02-20 08:47:17 +01:00
parent c0cbe74912
commit 79272e1469
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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";