Fix encoding still image sequence.

(Cannot use threads > 1.)