summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/bktr.c2
-rw-r--r--libavdevice/opengl_enc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 52d090cb33..6c5a834b75 100644
--- a/libavdevice/bktr.c
+++ b/libavdevice/bktr.c
@@ -80,7 +80,7 @@ typedef struct VideoData {
#define VIDEO_FORMAT NTSC
#endif
-static int bktr_dev[] = { METEOR_DEV0, METEOR_DEV1, METEOR_DEV2,
+static const int bktr_dev[] = { METEOR_DEV0, METEOR_DEV1, METEOR_DEV2,
METEOR_DEV3, METEOR_DEV_SVIDEO };
uint8_t *video_buf;
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,