ivfenc: fix two-pass support of raw files
authorJohn Koleszar <jkoleszar@google.com>
Mon, 14 Jun 2010 12:33:54 +0000 (08:33 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Mon, 14 Jun 2010 12:34:28 +0000 (08:34 -0400)
commitdf2c62d35782442b621388be8adba32a709afb1a
tree7eb670e505519c9f672673ac7f0003561beb0a97
parent900d0548db717719529778f7f13ce68ffc2f89d4
ivfenc: fix two-pass support of raw files

Commit 3245d46 "ivfenc: support reading/writing from a pipe" broke
support for two pass encodes of raw files when done in two
invocations of ivfenc. The raw image was only set up on pass 0,
which was never hit when running with --pass=2 --passes=2.

Change-Id: I6a9858be1a8998d5bd45331123b46b1baa05b379
ivfenc.c