The GetCodecDisplayName() implementation CDCI,
JPEG, WAVE, and AIFC codec all return a truncated
string if the user supplied buffer is too small.
There are two problems with the implementation(s):
i) Assuming truncation is the correct response to the
small buffer, the truncated string will not be properly null
terminated because it is copied with memcpy().
ii) The rest of the SDK returns
AAFRESULT_SMALL_BUF in this situation. The
essence codecs should do the same.