]> Creatis software - gdcm.git/blobdiff - src/gdcmopenjpeg/codec/convert.c
Use New(), Delete();
[gdcm.git] / src / gdcmopenjpeg / codec / convert.c
index 927319c656880869d11746cabd20b29b9090b166..2aeed36698aa3746ac6c905388a33544dbc43d10 100644 (file)
@@ -482,7 +482,7 @@ int bmptoimage(char *filename, j2k_image_t * img, int subsampling_dx,
               fprintf(Compo1, "%c", table_G[(int)
                  RGB[(Info_h.biHeight - line -
                  1) * Info_h.biWidth + col]]);
-             fprintf(Compo2, "%c", table_B[(int)
+              fprintf(Compo2, "%c", table_B[(int)
                  RGB[(Info_h.biHeight - line -
                  1) * Info_h.biWidth + col]]);
             }