]> Creatis software - gdcm.git/blobdiff - src/gdcmmpeg2/src/mpeg2dec/gethdr.c
New method SerieHelper::AddSeriesDetail() to allow user to specifiy
[gdcm.git] / src / gdcmmpeg2 / src / mpeg2dec / gethdr.c
index f5a8c5396546de4a0a5625bd2f6aeadaeb050aa2..c128f010d79f756c05183595f380ef4c24f417d2 100644 (file)
@@ -27,8 +27,6 @@
  *
  */
 
-#include <stdio.h>
-
 #include "config.h"
 #include "global.h"
 
@@ -357,8 +355,11 @@ int slice_header()
 
     slice_picture_id_enable = Get_Bits(1);
     slice_picture_id = Get_Bits(6);
+    (void)slice_picture_id_enable;
+    (void)slice_picture_id;
 
     extra_information_slice = extra_bit_information();
+    (void)extra_information_slice;
   }
   else
     ld->intra_slice = 0;
@@ -983,7 +984,7 @@ static int extra_bit_information()
 /* Purpose: this function is mainly designed to aid in bitstream conformance
    testing.  A simple Flush_Buffer(1) would do */
 void marker_bit(text)
-char *text;
+const char *text;
 {
   int marker;
   (void)text;