]> granicus.if.org Git - libvpx/commit
fixed a crash when MODE_STATS is enabled
authorYaowu Xu <yaowu@google.com>
Tue, 6 Dec 2011 15:37:39 +0000 (07:37 -0800)
committerYaowu Xu <yaowu@google.com>
Wed, 7 Dec 2011 18:56:39 +0000 (10:56 -0800)
commitb1823a7dd290b233739fa437673d9ff385d5f273
tree13d77ca48e9c3fe33b164898d68f55744c6855b7
parentd0e3acf98cc24db8bbb75119d7384e4b673c5ecf
fixed a crash when MODE_STATS is enabled

The MODE_STATS macro was used to #ifdef around code for mode entropy
stats collection, this commit fixed a crash when MODE_STATS is on.
The commit also changed a number of array definitions to use defined
macros instead of hard-coded numbers.

Change-Id: I114592f53a1e44e31e455f5725f036ae6168735a
vp8/encoder/encodeframe.c
vp8/encoder/ethreading.c
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h
vp8/encoder/ratectrl.c