]> Creatis software - gdcm.git/commitdiff
STYLE: Remove debug
authormalaterre <malaterre>
Thu, 27 Oct 2005 15:57:14 +0000 (15:57 +0000)
committermalaterre <malaterre>
Thu, 27 Oct 2005 15:57:14 +0000 (15:57 +0000)
src/gdcmmpeg2/src/mpeg2dec/mpeg2dec.c

index 6ab74fc171a542c7f3ba5e9c2ebcebf886fb2fda..8d2d1b8f7068b8f89127abe849fc227115cd17a9 100644 (file)
@@ -76,12 +76,10 @@ off_t my_seek(istream *infile, off_t offset, int whence)
 ssize_t my_read(istream *infile, void *buf, size_t count)
 {
 #ifdef FILESTAR
-  size_t r = fread(buf,1,count, infile->InFd);
+  return fread(buf,1,count, infile->InFd);
 #else
-  ssize_t r = read(infile->InFd,buf,count);
+  return read(infile->InFd,buf,count);
 #endif
-  printf( "%d , %d\n", count , r);
-  return r;
 }
 
 int my_close(istream *infile)