summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/sdl.c b/libavdevice/sdl.c
index 5bd219dcd2..5226e0cd0e 100644
--- a/libavdevice/sdl.c
+++ b/libavdevice/sdl.c
@@ -43,7 +43,7 @@ typedef struct {
int sdl_was_already_inited;
} SDLContext;
-struct sdl_overlay_pix_fmt_entry {
+static const struct sdl_overlay_pix_fmt_entry {
enum PixelFormat pix_fmt; int overlay_fmt;
} sdl_overlay_pix_fmt_map[] = {
{ PIX_FMT_YUV420P, SDL_IYUV_OVERLAY },