David Henry <dhenry at ...> writes: > I tried just creating an output buffer, same > size I get back from sws_scale() and doing a memset() 0 on it Did you try 0x80 instead? Carl Eugen