summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile3
-rw-r--r--src/decode_frame.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index d2e6a94..2a029c3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,6 @@
+DEBUG=0
CFLAGS=-ggdb -std=c99 -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-unused-parameter -DDEBUG=0
+ -Wno-unused-parameter -DDEBUG=$(DEBUG)
LIBAV_DECODE_FLAGS=`pkg-config --libs --cflags libavformat libavcodec \
libavutil libswscale`
diff --git a/src/decode_frame.c b/src/decode_frame.c
index b6c1fc1..de762a8 100644
--- a/src/decode_frame.c
+++ b/src/decode_frame.c
@@ -1,5 +1,3 @@
-#define DEBUG 0
-
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>