Avoid encoding garbage when ivfenc encounters an unsupported Y4M file.
authorTom Finegan <tomfinegan@google.com>
Wed, 16 Jun 2010 17:24:55 +0000 (13:24 -0400)
committerTom Finegan <tomfinegan@google.com>
Wed, 16 Jun 2010 17:24:55 +0000 (13:24 -0400)
commite703af974d2cf08aa7283bd0efd3bdd69801ea18
tree78285fad9f82ff2ba5c552d84429ea90699cac39
parent9fdfb8e92823abadc54d825d0603a7e9fd344520
Avoid encoding garbage when ivfenc encounters an unsupported Y4M file.

This change stops ivfenc from treating unsupported Y4M files as raw
input.

For example, if given an interlaced Y4M file, ivfenc treated the input
as if it were raw data because the unsupported Y4M file case previously
fell through without being handled.

Change-Id: I06caa50f3448e6388741a77346daaebf77c277e1
ivfenc.c