post-proc: fix 0 or negative threshold handling
authorYunqing Wang <yunqingwang@google.com>
Wed, 10 Oct 2012 18:27:11 +0000 (11:27 -0700)
committerYunqing Wang <yunqingwang@google.com>
Thu, 11 Oct 2012 01:36:26 +0000 (18:36 -0700)
commitf6886c4b93283ed9ef11f4688b5af25ebe9aca6a
tree9c185b01ede1eb7503fb807a22643f870bf5f8ef
parentd21070a538f615f6e762ce37e1771a1b99362c0e
post-proc: fix 0 or negative threshold handling

If the threshold(limits) <= 0, skipped filtering and copied the
frame directly. Also, fixed memory allocation checking.

Change-Id: If3d79d5b2bcb71b9777e6eb5cba1384585131e22
vp8/common/alloccommon.c
vp8/common/onyxc_int.h
vp8/common/postproc.c
vp8/common/postproc.h
vp8/encoder/onyx_if.c