Prevent using uninitialized value in RD decision
authorYaowu Xu <yaowu@google.com>
Tue, 24 Sep 2013 16:37:55 +0000 (09:37 -0700)
committerYaowu Xu <yaowu@google.com>
Tue, 24 Sep 2013 17:53:01 +0000 (10:53 -0700)
commitff1ae7f713dc079de7e124a023ee3dc6aa9b616d
treea93f24ad17eafcc9b7fa8dd2854399e8b59add78
parentfe533c97413313a4e4c75ce1a1a6ec7451b5acc3
Prevent using uninitialized value in RD decision

INT64_MAX may be assigned as RDCOST when RDCSOST computation is skipped
for speed, this commit to prevent INT64_MAX from being used as real
RDCOST in transform size decision.

Change-Id: I89a945134191bbdea1f1431ade70424ac079eaac
vp9/encoder/vp9_rdopt.c