  #if CONFIG_AVFILTER
  static int opt_add_vfilter(void *optctx, const char *opt, const char *arg)
  {
-@@ -1233,6 +1247,9 @@ static void do_exit(VideoState *is)
+@@ -1291,6 +1305,9 @@ static void do_exit(VideoState *is)
      if (show_status)
          printf("\n");
      SDL_Quit();

diff --git a/ffplay.c b/ffplay.c
index 6d43191..1818a41 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -30,6 +30,9 @@
 #include <signal.h>
 #include <stdint.h>

     for (;;) {
         double x;
         refresh_loop_wait_event(cur_stream, &event);
@@ -3709,6 +3768,11 @@ int main(int argc, char **argv)
     signal(SIGTERM, sigterm_handler); /* Termination (ANSI).  */
 
     show_banner(argc, argv, options);
