From 2eaa3663fda750dac66d41fe8541a8744d5563a4 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 6 Mar 2013 17:15:50 +0100 Subject: avplay: enable only when SDL 1.2 is found SDL 2 is API incompatible. Signed-off-by: Luca Barbato --- avplay.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'avplay.c') diff --git a/avplay.c b/avplay.c index b87e270e74..754a69fe6a 100644 --- a/avplay.c +++ b/avplay.c @@ -2967,11 +2967,9 @@ int main(int argc, char **argv) } if (!display_disable) { -#if HAVE_SDL_VIDEO_SIZE const SDL_VideoInfo *vi = SDL_GetVideoInfo(); fs_screen_width = vi->current_w; fs_screen_height = vi->current_h; -#endif } SDL_EventState(SDL_ACTIVEEVENT, SDL_IGNORE); -- cgit v1.2.3