On Mon, Mar 12, 2007 at 10:29:39PM +0100, michael wrote: > av_sha1_update(context, "\0", 1); If you just need a single 0 byte instead ot two, "" is smaller.. Rich