summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/msmpeg4.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/msmpeg4.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/msmpeg4.c')
-rw-r--r--src/libffmpeg/libavcodec/msmpeg4.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libffmpeg/libavcodec/msmpeg4.c b/src/libffmpeg/libavcodec/msmpeg4.c
index 885abc117..971ea7182 100644
--- a/src/libffmpeg/libavcodec/msmpeg4.c
+++ b/src/libffmpeg/libavcodec/msmpeg4.c
@@ -30,7 +30,7 @@
* - (encoding) select best vlc/dc table
* - (decoding) handle slice indication
*/
-//#define DEBUG
+//#define DEBUG_PRINTS
/* motion vector table */
typedef struct MVTable {
@@ -50,7 +50,7 @@ static int msmpeg4_decode_dc(MpegEncContext * s, int n, int *dir_ptr);
static int msmpeg4_decode_motion(MpegEncContext * s,
int *mx_ptr, int *my_ptr);
-#ifdef DEBUG
+#ifdef DEBUG_PRINTS
int intra_count = 0;
int frame_count = 0;
#endif
@@ -197,7 +197,7 @@ void msmpeg4_encode_picture_header(MpegEncContext * s, int picture_number)
init_rl(&rl_table[i]);
}
-#ifdef DEBUG
+#ifdef DEBUG_PRINTS
intra_count = 0;
printf("*****frame %d:\n", frame_count++);
#endif
@@ -642,7 +642,7 @@ int msmpeg4_decode_picture_header(MpegEncContext * s)
s->mv_table_index = get_bits1(&s->gb);
s->no_rounding ^= 1;
}
-#ifdef DEBUG
+#ifdef DEBUG_PRINTS
printf("*****frame %d:\n", frame_count++);
#endif
return 0;