summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-08-10 17:37:50 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-08-10 17:37:50 +0000
commitf86d8e69cb6655f42575055862d6a9d5c4f6d2e5 (patch)
tree142ff685cc5b29407574b3cb8cd8685a2424ee39 /src/libffmpeg/libavcodec/h263dec.c
parent9cdb6c61b02aced10c14ecf71193bd17c01c2d7a (diff)
downloadxine-lib-f86d8e69cb6655f42575055862d6a9d5c4f6d2e5.tar.gz
xine-lib-f86d8e69cb6655f42575055862d6a9d5c4f6d2e5.tar.bz2
minor bugfixes, make debug should work now, codec close hopefully works too
CVS patchset: 405 CVS date: 2001/08/10 17:37:50
Diffstat (limited to 'src/libffmpeg/libavcodec/h263dec.c')
-rw-r--r--src/libffmpeg/libavcodec/h263dec.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/libffmpeg/libavcodec/h263dec.c b/src/libffmpeg/libavcodec/h263dec.c
index 8bbd3a758..72a43e68f 100644
--- a/src/libffmpeg/libavcodec/h263dec.c
+++ b/src/libffmpeg/libavcodec/h263dec.c
@@ -23,8 +23,6 @@
#include "avcodec.h"
#include "mpegvideo.h"
-//#define DEBUG
-
static int h263_decode_init(AVCodecContext *avctx)
{
MpegEncContext *s = avctx->priv_data;
@@ -81,7 +79,7 @@ static int h263_decode_frame(AVCodecContext *avctx,
int ret;
AVPicture *pict = data;
-#ifdef DEBUG
+#ifdef DEBUG_PRINTS
printf("*****frame %d size=%d\n", avctx->frame_number, buf_size);
printf("bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]);
#endif
@@ -109,15 +107,15 @@ static int h263_decode_frame(AVCodecContext *avctx,
MPV_frame_start(s);
-#ifdef DEBUG
+#ifdef DEBUG_PRINTS
printf("qscale=%d\n", s->qscale);
#endif
/* decode each macroblock */
for(s->mb_y=0; s->mb_y < s->mb_height; s->mb_y++) {
for(s->mb_x=0; s->mb_x < s->mb_width; s->mb_x++) {
-#ifdef DEBUG
- printf("**mb x=%d y=%d\n", s->mb_x, s->mb_y);
+#ifdef DEBUG_PRINTS
+ printf("**mb x=%d y=%d\n", s->mb_x, s->mb_y);
#endif
/* DCT & quantize */
if (s->h263_msmpeg4) {