]> Creatis software - gdcm.git/blobdiff - src/gdcmmpeg2/src/mpeg2dec/getpic.c
New method SerieHelper::AddSeriesDetail() to allow user to specifiy
[gdcm.git] / src / gdcmmpeg2 / src / mpeg2dec / getpic.c
index 8cfda605fe43742655375d09429b919a29bbfbd9..c8e8594039ddc643005f98956703a645d3412f60 100644 (file)
@@ -27,8 +27,6 @@
  *
  */
 
-#include <stdio.h>
-
 #include "config.h"
 #include "global.h"
 
@@ -119,17 +117,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;
   }