Mercurial > libavcodec.hg
comparison dvdsubdec.c @ 7264:a9ca5a1b8a1e libavcodec
dvdsubdec: allow compilation with -DDEBUG
author | mru |
---|---|
date | Sun, 13 Jul 2008 19:41:13 +0000 |
parents | e943e1409077 |
children | b866cb2a5330 |
comparison
equal
deleted
inserted
replaced
7263:fc843d00867c | 7264:a9ca5a1b8a1e |
---|---|
438 return 1; | 438 return 1; |
439 } | 439 } |
440 | 440 |
441 #ifdef DEBUG | 441 #ifdef DEBUG |
442 #undef fprintf | 442 #undef fprintf |
443 #undef perror | |
444 #undef exit | |
443 static void ppm_save(const char *filename, uint8_t *bitmap, int w, int h, | 445 static void ppm_save(const char *filename, uint8_t *bitmap, int w, int h, |
444 uint32_t *rgba_palette) | 446 uint32_t *rgba_palette) |
445 { | 447 { |
446 int x, y, v; | 448 int x, y, v; |
447 FILE *f; | 449 FILE *f; |