aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpeg.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-08-15 22:33:03 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-08-15 22:33:03 +0000
commita74127c071fd46cdd40b9beca6721a9ca6338142 (patch)
treece84b21312cf30edc838cd5fbfba62ac21912b9b /libavcodec/mjpeg.c
parentd0a0b2483e7b62e0f72c3b60f0a5f24175d665ee (diff)
downloadffmpeg-a74127c071fd46cdd40b9beca6721a9ca6338142.tar.gz
win32 fixes
Originally committed as revision 110 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpeg.c')
-rw-r--r--libavcodec/mjpeg.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c
index 1103e11d04..08281a5014 100644
--- a/libavcodec/mjpeg.c
+++ b/libavcodec/mjpeg.c
@@ -16,6 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+//#define DEBUG
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
@@ -419,22 +420,6 @@ void mjpeg_encode_mb(MpegEncContext *s,
/******************************************/
/* decoding */
-//#define DEBUG
-
-#ifndef CONFIG_WIN32
-
-#ifdef DEBUG
-#define dprintf(fmt,args...) printf(fmt, ## args)
-#else
-#define dprintf(fmt,args...)
-#endif
-
-#else
-
-inline void dprintf(const char* fmt,...) {}
-
-#endif
-
/* compressed picture size */
#define PICTURE_BUFFER_SIZE 100000