summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-13 01:31:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-13 01:31:46 +0100
commitb94df21a5164c7f1591935deccc13f85d8c43717 (patch)
tree5fcd0f9edb3359bf6051c7043f6c951ce3a8c545 /ffplay.c
parentd469fa1923958f98df9d9b0a9cc167248d8516fb (diff)
parent2eaa3663fda750dac66d41fe8541a8744d5563a4 (diff)
Merge commit '2eaa3663fda750dac66d41fe8541a8744d5563a4'
* commit '2eaa3663fda750dac66d41fe8541a8744d5563a4': avplay: enable only when SDL 1.2 is found Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index 8e7d207291..279e246ba9 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -3351,11 +3351,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);