]> Creatis software - gdcm.git/blobdiff - src/gdcmmpeg2/src/mpeg2dec/getpic.c
Oops. I forgot this one
[gdcm.git] / src / gdcmmpeg2 / src / mpeg2dec / getpic.c
index d75b574b816c445ccfb7aa6fe59e5db3c8d727aa..2610ad1b33df311d0e6f17875d186a547e07f0f5 100644 (file)
@@ -119,17 +119,16 @@ static void picture_data(framenum)
 int framenum;
 {
   int MBAmax;
-  int ret;
 
   /* number of macroblocks per picture */
   MBAmax = mb_width*mb_height;
 
   if (picture_structure!=FRAME_PICTURE)
-    MBAmax>>=1; /* field picture has half as mnay macroblocks as frame */
+    MBAmax>>=1; /* field picture has half as many macroblocks as frame */
 
   for(;;)
   {
-    if((ret=slice(framenum, MBAmax))<0)
+    if(slice(framenum, MBAmax)<0)
       return;
   }
 
@@ -150,6 +149,7 @@ int framenum, MBAmax;
   int stwtype, stwclass;
   int SNRMBA, SNRMBAinc;
   int ret;
+  (void)framenum;
 
   MBA = 0; /* macroblock address */
   MBAinc = 0;
@@ -911,6 +911,7 @@ int PMV[2][2][2];
 {
   unsigned int code;
   int slice_vert_pos_ext;
+  (void)MBAmax;
 
   ld = &base;