]> Creatis software - gdcm.git/blobdiff - src/gdcmjpeg/jmemsrc.c
gdcm has now an official UID prefix,
[gdcm.git] / src / gdcmjpeg / jmemsrc.c
index 008592a7142580d971677ba93f4fa266997243c3..b208fbc5f333a5ee201a93477c64b2590a48841e 100644 (file)
 \r
 /* Expanded data source object for memory input */\r
 \r
+/**\r
+ * \brief very low level C 'structure', used to decode jpeg file\r
+ * Should not appear in the Doxygen supplied documentation\r
+ */\r
 typedef struct {\r
   struct jpeg_source_mgr pub; /* public fields */\r
-\r
   JOCTET eoi_buffer[2];       /* a place to put a dummy EOI */\r
 } my_source_mgr;\r
 \r
@@ -43,6 +46,7 @@ init_source (j_decompress_ptr cinfo)
    * Indeed, if we want to read multiple JPEG images from one buffer,\r
    * this *must* not do anything to the pointer.\r
    */\r
+  (void)cinfo;\r
 }\r
 \r
 \r
@@ -127,6 +131,7 @@ METHODDEF(void)
 term_source (j_decompress_ptr cinfo)\r
 {\r
   /* no work necessary here */\r
+  (void)cinfo;\r
 }\r
 \r
 \r