OSDN Git Service

dvdsubdec: allow compilation with -DDEBUG
authorMåns Rullgård <mans@mansr.com>
Sun, 13 Jul 2008 19:41:13 +0000 (19:41 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 13 Jul 2008 19:41:13 +0000 (19:41 +0000)
Originally committed as revision 14212 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dvdsubdec.c

index 29f9adf..f95c329 100644 (file)
@@ -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)
 {