summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 15:21:42 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 15:37:02 +0100
commit91e7e6b72129e6a509396c9d864270e60d28c922 (patch)
treeccb7d11e9049d3a424bceef1a4c0bac304fefbae /libavdevice
parentd7e95ccd9ff3e55e194582a105421fa308a83ef1 (diff)
Make sdl_overlay_pix_fmt_map static const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
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 },