diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-08-26 19:05:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-08-26 19:05:44 +0000 |
commit | 95ae72b7e063cb02aa17c7f0c7d759844a37e526 (patch) | |
tree | fce2f7de2ba52379302e234fb30d1de82f0e63f9 /libavcodec/imgresample.c | |
parent | 5b2bf9434078d0a57482658d82a26c3b2a13493d (diff) | |
download | ffmpeg-95ae72b7e063cb02aa17c7f0c7d759844a37e526.tar.gz |
Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
Originally committed as revision 4540 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgresample.c')
-rw-r--r-- | libavcodec/imgresample.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c index 2c7e1120ac..53471f4510 100644 --- a/libavcodec/imgresample.c +++ b/libavcodec/imgresample.c @@ -643,11 +643,13 @@ uint8_t img2[XSIZE1 * YSIZE1]; void save_pgm(const char *filename, uint8_t *img, int xsize, int ysize) { +#undef fprintf FILE *f; f=fopen(filename,"w"); fprintf(f,"P5\n%d %d\n%d\n", xsize, ysize, 255); fwrite(img,1, xsize * ysize,f); fclose(f); +#define fprintf please_use_av_log } static void dump_filter(int16_t *filter) |