Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 751934
Collapse All | Expand All

(-)a/src/lib/libcdr_utils.cpp (-2 / +1 lines)
Lines 108-114 static unsigned short getEncoding(const unsigned char *buffer, unsigned bufferLe Link Here
108
    csd = ucsdet_open(&status);
108
    csd = ucsdet_open(&status);
109
    if (U_FAILURE(status) || !csd)
109
    if (U_FAILURE(status) || !csd)
110
      return 0;
110
      return 0;
111
    ucsdet_enableInputFilter(csd, TRUE);
111
    ucsdet_enableInputFilter(csd, true);
112
    ucsdet_setText(csd, (const char *)buffer, bufferLength, &status);
112
    ucsdet_setText(csd, (const char *)buffer, bufferLength, &status);
113
    if (U_FAILURE(status))
113
    if (U_FAILURE(status))
114
      throw libcdr::EncodingException();
114
      throw libcdr::EncodingException();
115
- 

Return to bug 751934