summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/mjpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/libavcodec/mjpeg.c')
-rw-r--r--src/libffmpeg/libavcodec/mjpeg.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/libffmpeg/libavcodec/mjpeg.c b/src/libffmpeg/libavcodec/mjpeg.c
index 66d018e69..08281a501 100644
--- a/src/libffmpeg/libavcodec/mjpeg.c
+++ b/src/libffmpeg/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,30 +420,6 @@ void mjpeg_encode_mb(MpegEncContext *s,
/******************************************/
/* decoding */
-//#define DEBUG
-
-#ifndef CONFIG_WIN32
-
-#ifdef DEBUG
-# if __GNUC__
-# define dprintf(fmt,args...) printf(fmt, ## args)
-# else
-# define dprintf(...) printf(__VA_ARGS__)
-# endif
-#else
-# if __GNUC__
-# define dprintf(fmt,args...)
-# else
-# define dprintf(...)
-# endif
-#endif
-
-#else
-
-inline void dprintf(const char* fmt,...) {}
-
-#endif
-
/* compressed picture size */
#define PICTURE_BUFFER_SIZE 100000