summaryrefslogtreecommitdiff
path: root/output_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'output_example.c')
-rw-r--r--output_example.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/output_example.c b/output_example.c
index 36b0921d20..57588b3b59 100644
--- a/output_example.c
+++ b/output_example.c
@@ -31,10 +31,13 @@
#define M_PI 3.14159265358979323846
#endif
-#include "avformat.h"
-#include "swscale.h"
+#include "libavformat/avformat.h"
+#include "libswscale/swscale.h"
#undef exit
+#undef fprintf
+#undef printf
+#undef snprintf
/* 5 seconds stream duration */
#define STREAM_DURATION 5.0