Make sdl_overlay_pix_fmt_map static const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
pull/2/head
Reimar Döffinger 13 years ago
parent d7e95ccd9f
commit 91e7e6b721
  1. 2
      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 },

Loading…
Cancel
Save