[Theora] theoraToRGB, and a problem with it

Makoto SETOH setoh at mcr.ita.melco.co.jp
Sun Nov 27 17:43:35 PST 2005


Hi

Why don't you try "unsigned char" instead of "char" for yuvbuf.

or 

    y = (unsigned char)yuvbuf[offset++] - 16;
    u = (unsigned char)yuvbuf[offset++] - 128;
    v = (unsigned char)yuvbuf[offset++] - 128;

--
Makoto SETOH



More information about the Theora mailing list