comparison libvo/vo_sdl.c @ 22823:98eaf29b5dee

Code cleanup: don't include a .c file in mplayer.c and fix a few "implicit declaration of function ¡Æmplayer_put_key¡Ç" warnings Based on Attila's suggestions. Approved by Uoti and Ivan.
author rathann
date Thu, 29 Mar 2007 17:16:11 +0000
parents d8ffeda84296
children a124f3abc1ec
comparison
equal deleted inserted replaced
22822:79cac4f79e36 22823:98eaf29b5dee
123 #endif 123 #endif
124 124
125 #include "input/input.h" 125 #include "input/input.h"
126 #include "input/mouse.h" 126 #include "input/mouse.h"
127 #include "subopt-helper.h" 127 #include "subopt-helper.h"
128 #include "mp_fifo.h"
128 129
129 static vo_info_t info = 130 static vo_info_t info =
130 { 131 {
131 "SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)", 132 "SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)",
132 "sdl", 133 "sdl",
1158 * params : none 1159 * params : none
1159 * returns : doesn't return 1160 * returns : doesn't return
1160 **/ 1161 **/
1161 1162
1162 #include "osdep/keycodes.h" 1163 #include "osdep/keycodes.h"
1163 extern void mplayer_put_key(int code);
1164 1164
1165 #define shift_key (event.key.keysym.mod==(KMOD_LSHIFT||KMOD_RSHIFT)) 1165 #define shift_key (event.key.keysym.mod==(KMOD_LSHIFT||KMOD_RSHIFT))
1166 static void check_events (void) 1166 static void check_events (void)
1167 { 1167 {
1168 struct sdl_priv_s *priv = &sdl_priv; 1168 struct sdl_priv_s *priv = &sdl_priv;