]> Creatis software - gdcm.git/commitdiff
Replace C++ style comments by C style comments, to avoid gcc warnings
authorjpr <jpr>
Mon, 23 May 2005 11:26:22 +0000 (11:26 +0000)
committerjpr <jpr>
Mon, 23 May 2005 11:26:22 +0000 (11:26 +0000)
src/gdcmmpeg2/src/mpeg2dec/getbits.c
src/gdcmmpeg2/src/mpeg2dec/mpeg2dec.c
src/gdcmmpeg2/src/mpeg2dec/spatscal.c
src/gdcmmpeg2/src/mpeg2dec/store.c

index 0de7e5fcda55632c37ee3ea97aad0f021947ad32..837190bb5ebb0ccb12cb1dff92330944e6532a85 100644 (file)
@@ -63,7 +63,7 @@ void Fill_Buffer()
 {
   int Buffer_Level;
 
-  //Buffer_Level = read(ld->Infile,ld->Rdbfr,2048);
+  /*Buffer_Level = read(ld->Infile,ld->Rdbfr,2048);*/
   Buffer_Level = ld->read_stream(ld->Infile,ld->Rdbfr,2048);
   ld->Rdptr = ld->Rdbfr;
 
@@ -100,7 +100,7 @@ int Get_Byte()
 {
   while(ld->Rdptr >= ld->Rdbfr+2048)
   {
-    //read(ld->Infile,ld->Rdbfr,2048);
+    /*read(ld->Infile,ld->Rdbfr,2048);*/
     ld->read_stream(ld->Infile,ld->Rdbfr,2048);
     ld->Rdptr -= 2048;
     ld->Rdmax -= 2048;
index ea7d55160b8a6fbb00884bf1ed00b33e53fd1ea8..1e7bb2a277e64818d5df1ace895f2aadeca7b842 100644 (file)
@@ -100,7 +100,7 @@ char *argv[];
 
   /* open MPEG base layer bitstream file(s) */
   /* NOTE: this is either a base layer stream or a spatial enhancement stream */
-//  if ((base.Infile=open(Main_Bitstream_Filename,O_RDONLY|O_BINARY))<0)
+/*  if ((base.Infile=open(Main_Bitstream_Filename,O_RDONLY|O_BINARY))<0) */
   base.Infile = ld->open_stream(Main_Bitstream_Filename);
   if( base.Infile < 0 )
   {
@@ -137,14 +137,14 @@ char *argv[];
       break;
     }
 
-    //lseek(base.Infile, 0l, SEEK_SET);
+    /*lseek(base.Infile, 0l, SEEK_SET);*/
     ld->seek_stream(base.Infile,0l,SEEK_SET);
     Initialize_Buffer(); 
   }
 
   if(base.Infile!=0)
   {
-    //lseek(base.Infile, 0l, SEEK_SET);
+    /*lseek(base.Infile, 0l, SEEK_SET);*/
     ld->seek_stream(base.Infile,0l,SEEK_SET);
   }
 
@@ -154,7 +154,7 @@ char *argv[];
   {
     ld = &enhan; /* select enhancement layer context */
 
-    //if ((enhan.Infile = open(Enhancement_Layer_Bitstream_Filename,O_RDONLY|O_BINARY))<0)
+    /*if ((enhan.Infile = open(Enhancement_Layer_Bitstream_Filename,O_RDONLY|O_BINARY))<0)*/
     enhan.Infile = ld->open_stream(Enhancement_Layer_Bitstream_Filename);
     if (enhan.Infile<0)
     {
@@ -172,17 +172,17 @@ char *argv[];
 
   ret = Decode_Bitstream();
 
-  //close(base.Infile);
+  /*close(base.Infile);*/
   ld->close_stream(base.Infile);
 
   if (Two_Streams)
-    //close(enhan.Infile);
+    /*close(enhan.Infile);*/
     ld->close_stream(enhan.Infile);
 
   return ret;
 }
 
-/* IMPLEMENTAION specific rouintes */
+/* IMPLEMENTATION specific routines */
 static void Initialize_Decoder()
 {
   int i;
index 94557677d402a5e44685b2206ea946ce0de6640c..d6629a987db9ddbc461fec5337a45402652d7391 100644 (file)
@@ -1,7 +1,7 @@
 
 #include <stdio.h>
-#include <string.h> // for strcat
-#include <stdlib.h> // for exit
+#include <string.h> /* for strcat */
+#include <stdlib.h> /* for exit */
 #include "config.h"
 #include "global.h"
 
index 670c252a563b15b72f18e98e65bcbafa33286885..9c9b7d9456a36277e2d89340c6fcd29556440f4b 100644 (file)
@@ -30,7 +30,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
-#include <string.h> // for strcat
+#include <string.h> /* for strcat */
 
 #include "config.h"
 #include "global.h"