summaryrefslogtreecommitdiff
path: root/output_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'output_example.c')
-rw-r--r--output_example.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/output_example.c b/output_example.c
index ca12b783f1..39866d892b 100644
--- a/output_example.c
+++ b/output_example.c
@@ -34,6 +34,8 @@
#include "avformat.h"
#include "swscale.h"
+#undef exit
+
/* 5 seconds stream duration */
#define STREAM_DURATION 5.0
#define STREAM_FRAME_RATE 25 /* 25 images/s */