AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
July 2010

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



2010.07.13 14:45 "TIFFGetConfiguredCODECs()", by Eberhard Mattes

Why does the second loop of TIFFGetConfiguredCODECs() copy built-in CODECs
only if they implement a scheme that has already been handled by the first
loop?

I think

		if (!TIFFIsCODECConfigured(c->scheme)) {

would make more sense than:

		if (TIFFIsCODECConfigured(c->scheme)) {

That way, the second loop of TIFFGetConfiguredCODECs() would include built-in
CODECs only if they have not been overridden by registered CODECs.

Eberhard