[FFmpeg-cvslog] Make sdl_overlay_pix_fmt_map static const.

Reimar Döffinger git at videolan.org
Sat Nov 5 15:45:27 CET 2011


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Nov  5 15:21:42 2011 +0100| [91e7e6b72129e6a509396c9d864270e60d28c922] | committer: Reimar Döffinger

Make sdl_overlay_pix_fmt_map static const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=91e7e6b72129e6a509396c9d864270e60d28c922
---

 libavdevice/sdl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavdevice/sdl.c b/libavdevice/sdl.c
index 5bd219d..5226e0c 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 },



More information about the ffmpeg-cvslog mailing list