[SCM] libav/experimental: dvdsubdec: allow compilation with -DDEBUG

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:25:16 UTC 2013


The following commit has been merged in the experimental branch:
commit 8effdce0e70cb130feb5c8f0e89bc01c98d1764c
Author: Måns Rullgård <mans at mansr.com>
Date:   Sun Jul 13 19:41:13 2008 +0000

    dvdsubdec: allow compilation with -DDEBUG
    
    Originally committed as revision 14212 to svn://svn.ffmpeg.org/ffmpeg/trunk

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)
 {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list