summaryrefslogtreecommitdiff
path: root/libavcodec/dvdsubdec.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-07-13 19:41:13 +0000
committerMåns Rullgård <mans@mansr.com>2008-07-13 19:41:13 +0000
commit8effdce0e70cb130feb5c8f0e89bc01c98d1764c (patch)
tree5323ec670541805f551b0c7b8d9f746a5dbcc13c /libavcodec/dvdsubdec.c
parente8420626d02aa1031ff90a176332d6857a6d9ef2 (diff)
dvdsubdec: allow compilation with -DDEBUG
Originally committed as revision 14212 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvdsubdec.c')
-rw-r--r--libavcodec/dvdsubdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c
index 29f9adf588..f95c329e76 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)
{