changeset 523:c7e4c8b9a3c4 libavcodec

warning fix patch by atmos
author michaelni
date Tue, 09 Jul 2002 18:14:59 +0000
parents cf7d120ed51a
children 3e579fbef701
files h263.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Tue Jul 09 17:41:51 2002 +0000
+++ b/h263.c	Tue Jul 09 18:14:59 2002 +0000
@@ -32,8 +32,8 @@
 //rounded divison & shift
 #define RSHIFT(a,b) ((a) > 0 ? ((a) + (1<<((b)-1)))>>(b) : ((a) + (1<<((b)-1))-1)>>(b))
 
-#define PRINT_MB_TYPE(a) ;
-//#define PRINT_MB_TYPE(a) printf(a);
+#define PRINT_MB_TYPE(a) {}
+//#define PRINT_MB_TYPE(a) printf(a)
 
 static void h263_encode_block(MpegEncContext * s, DCTELEM * block,
 			      int n);
@@ -2357,7 +2357,7 @@
     INT16 *mot_val;
     static INT8 quant_tab[4] = { -1, -2, 1, 2 };
 
-    if(s->mb_x==0) PRINT_MB_TYPE("\n")
+    if(s->mb_x==0) PRINT_MB_TYPE("\n");
 
     if(s->resync_marker){
         if(s->resync_mb_x == s->mb_x && s->resync_mb_y+1 == s->mb_y){
@@ -2539,7 +2539,7 @@
 //FIXME is this correct?
 /*            s->last_mv[0][0][0]=
             s->last_mv[0][0][1]=0;*/
-            PRINT_MB_TYPE("s")
+            PRINT_MB_TYPE("s");
             return 0;
         }