multi-res: add parameter validity checking
authorYunqing Wang <yunqingwang@google.com>
Wed, 11 Jul 2012 18:43:51 +0000 (11:43 -0700)
committerYunqing Wang <yunqingwang@google.com>
Sat, 14 Jul 2012 00:32:40 +0000 (17:32 -0700)
commit7f009975e963b01857c27825c1b47bb32be03fa1
treeb069b4d62096005fb6d91f0b3fb53ad778ddb677
parenta6f4fc5a93be96700eb53d2b70b498a8c28edf97
multi-res: add parameter validity checking

Added validity checking in multi-res encoder. Disable spatial
resampling and frame dropping before we have those supports.
Also, deallocate the memory for all resolution levels once error
occurs.

Change-Id: Ia5d65a645381cad1a49940ab3a19bb5696c39c09
vp8/vp8_cx_iface.c
vpx/src/vpx_encoder.c