diff options
author | Lou Logan <lou@lrcd.com> | 2014-06-02 18:46:04 -0800 |
---|---|---|
committer | Lou Logan <lou@lrcd.com> | 2014-06-03 10:58:19 -0800 |
commit | 88f2586adbcdcb350b2923a82bcb07c5a519bd1d (patch) | |
tree | d4c93e604c90148368ae9c3327be9839c33f3c27 /libavdevice/opengl_enc.c | |
parent | 137c5e115b0f1bff1867a3a09f3a2f14cfda2fb5 (diff) | |
download | ffmpeg-88f2586adbcdcb350b2923a82bcb07c5a519bd1d.tar.gz |
fix various typos
Signed-off-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/opengl_enc.c')
-rw-r--r-- | libavdevice/opengl_enc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c index 28a01181a0..b5f97e2428 100644 --- a/libavdevice/opengl_enc.c +++ b/libavdevice/opengl_enc.c @@ -66,7 +66,7 @@ /* FF_GL_RED_COMPONENT is used for plannar pixel types. * Only red component is sampled in shaders. - * On some platforms GL_RED is not availabe and GL_LUMINANCE have to be used, + * On some platforms GL_RED is not available and GL_LUMINANCE have to be used, * but since OpenGL 3.0 GL_LUMINANCE is deprecated. * GL_RED produces RGBA = value, 0, 0, 1. * GL_LUMINANCE produces RGBA = value, value, value, 1. @@ -583,7 +583,7 @@ static void opengl_make_ortho(float matrix[16], float left, float right, static av_cold int opengl_read_limits(OpenGLContext *opengl) { static const struct{ - const char *extention; + const char *extension; int major; int minor; } required_extensions[] = { @@ -603,12 +603,12 @@ static av_cold int opengl_read_limits(OpenGLContext *opengl) av_log(opengl, AV_LOG_DEBUG, "OpenGL version: %s\n", version); sscanf(version, "%d.%d", &major, &minor); - for (i = 0; required_extensions[i].extention; i++) { + for (i = 0; required_extensions[i].extension; i++) { if (major < required_extensions[i].major && (major == required_extensions[i].major && minor < required_extensions[i].minor) && - !strstr(extensions, required_extensions[i].extention)) { + !strstr(extensions, required_extensions[i].extension)) { av_log(opengl, AV_LOG_ERROR, "Required extension %s is not supported.\n", - required_extensions[i].extention); + required_extensions[i].extension); av_log(opengl, AV_LOG_DEBUG, "Supported extensions are: %s\n", extensions); return AVERROR(ENOSYS); } |