This is a resend of the patch from a few days ago with some modificationsrequested by Alexandre:*getFormatDescEntry returns a pointer to a format structure, not an index inthe array* Removed the format counter