Mercurial > libavcodec.hg
comparison mjpeg.c @ 64:5aa6292a1660 libavcodec
win32 fixes
author | glantau |
---|---|
date | Mon, 13 Aug 2001 21:48:05 +0000 |
parents | adf7cea364ca |
children | 99cc25b48e24 |
comparison
equal
deleted
inserted
replaced
63:8e2d8dbf89a5 | 64:5aa6292a1660 |
---|---|
14 * | 14 * |
15 * You should have received a copy of the GNU General Public License | 15 * You should have received a copy of the GNU General Public License |
16 * along with this program; if not, write to the Free Software | 16 * along with this program; if not, write to the Free Software |
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
18 */ | 18 */ |
19 #include <stdlib.h> | |
20 #include <stdio.h> | |
21 #include "avcodec.h" | 19 #include "avcodec.h" |
22 #include "dsputil.h" | 20 #include "dsputil.h" |
23 #include "mpegvideo.h" | 21 #include "mpegvideo.h" |
24 | 22 |
25 typedef struct MJpegContext { | 23 typedef struct MJpegContext { |
421 /******************************************/ | 419 /******************************************/ |
422 /* decoding */ | 420 /* decoding */ |
423 | 421 |
424 //#define DEBUG | 422 //#define DEBUG |
425 | 423 |
424 #ifndef CONFIG_WIN32 | |
425 | |
426 #ifdef DEBUG | 426 #ifdef DEBUG |
427 #define dprintf(fmt,args...) printf(fmt, ## args) | 427 #define dprintf(fmt,args...) printf(fmt, ## args) |
428 #else | 428 #else |
429 #define dprintf(fmt,args...) | 429 #define dprintf(fmt,args...) |
430 #endif | |
431 | |
432 #else | |
433 | |
434 inline void dprintf(const char* fmt,...) {} | |
435 | |
430 #endif | 436 #endif |
431 | 437 |
432 /* compressed picture size */ | 438 /* compressed picture size */ |
433 #define PICTURE_BUFFER_SIZE 100000 | 439 #define PICTURE_BUFFER_SIZE 100000 |
434 | 440 |