[FFmpeg-devel] [PATCH] dvdsubdec: allow compilation with -DDEBUG

Mans Rullgard mans
Sun Jul 13 20:26:54 CEST 2008


---
 libavcodec/dvdsubdec.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c
index 29f9adf..f95c329 100644
--- a/libavcodec/dvdsubdec.c
+++ b/libavcodec/dvdsubdec.c
@@ -440,6 +440,8 @@ static int find_smallest_bounding_rectangle(AVSubtitle *s)
 
 #ifdef DEBUG
 #undef fprintf
+#undef perror
+#undef exit
 static void ppm_save(const char *filename, uint8_t *bitmap, int w, int h,
                      uint32_t *rgba_palette)
 {
-- 
1.5.6.2





More information about the ffmpeg-devel mailing list