X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmjpeg%2Fjmemsrc.c;h=b208fbc5f333a5ee201a93477c64b2590a48841e;hb=1fe405b2347a5f78d5ecc67d2d81f53bd9c7541d;hp=008592a7142580d971677ba93f4fa266997243c3;hpb=4caa0694570fdecca63e745c25471edc4272aad1;p=gdcm.git diff --git a/src/gdcmjpeg/jmemsrc.c b/src/gdcmjpeg/jmemsrc.c index 008592a7..b208fbc5 100644 --- a/src/gdcmjpeg/jmemsrc.c +++ b/src/gdcmjpeg/jmemsrc.c @@ -22,9 +22,12 @@ /* Expanded data source object for memory input */ +/** + * \brief very low level C 'structure', used to decode jpeg file + * Should not appear in the Doxygen supplied documentation + */ typedef struct { struct jpeg_source_mgr pub; /* public fields */ - JOCTET eoi_buffer[2]; /* a place to put a dummy EOI */ } my_source_mgr; @@ -43,6 +46,7 @@ init_source (j_decompress_ptr cinfo) * Indeed, if we want to read multiple JPEG images from one buffer, * this *must* not do anything to the pointer. */ + (void)cinfo; } @@ -127,6 +131,7 @@ METHODDEF(void) term_source (j_decompress_ptr cinfo) { /* no work necessary here */ + (void)cinfo; }