summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/mjpeg.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-12-27 21:06:08 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-12-27 21:06:08 +0000
commit7fec2e354c27250be1207159ab946e7fa10aaf7b (patch)
treeab8a8c9a6fd076dcd59552f99f86c02117c64147 /src/libffmpeg/libavcodec/mjpeg.c
parentc811e61c80f28552251d296eb205f21175fcef93 (diff)
downloadxine-lib-7fec2e354c27250be1207159ab946e7fa10aaf7b.tar.gz
xine-lib-7fec2e354c27250be1207159ab946e7fa10aaf7b.tar.bz2
updating ffmpeg to cvs version as 26-12-2001
CVS patchset: 1315 CVS date: 2001/12/27 21:06:08
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