[trunk] removed warnings when building tcd.c (Update issue 442)
allow image and codec objects to be re-used for mulitple encodes where the

file characteristics don't change between encodes - this doubles the frame rate.