summaryrefslogtreecommitdiff
path: root/libavdevice/opengl_enc.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-08-29 00:32:32 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-08-29 18:57:25 +0200
commitd9e2aceb7f1c712a52672129ca7971872b030e1e (patch)
tree7d6518b6bf431d2ee46f926a87e3fb01101c63ec /libavdevice/opengl_enc.c
parentbe4aac302b0cbeab6da9e3192318aad7379a6428 (diff)
downloadffmpeg-d9e2aceb7f1c712a52672129ca7971872b030e1e.tar.gz
Add missing "const" all over the place.
Only "./configure --enable-gpl" on x86 was tested. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavdevice/opengl_enc.c')
-rw-r--r--libavdevice/opengl_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c
index b5f97e2428..5f5b800569 100644
--- a/libavdevice/opengl_enc.c
+++ b/libavdevice/opengl_enc.c
@@ -164,7 +164,7 @@ typedef struct OpenGLVertexInfo
} OpenGLVertexInfo;
/* defines 2 triangles to display */
-static GLushort g_index[6] =
+static const GLushort g_index[6] =
{
0, 1, 2,
0, 3, 2,