summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 833b5b12cf..06bccce45e 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -311,7 +311,7 @@ static int fast = 0;
static int genpts = 0;
static int lowres = 0;
static int decoder_reorder_pts = -1;
-static int autoexit;
+static int autoexit = 1;
static int exit_on_keydown;
static int exit_on_mousedown;
static int loop = 1;