From 91e7e6b72129e6a509396c9d864270e60d28c922 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sat, 5 Nov 2011 15:21:42 +0100 Subject: Make sdl_overlay_pix_fmt_map static const. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- libavdevice/sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavdevice') 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 }, -- cgit v1.2.3