]> granicus.if.org Git - libvpx/commit
spatial svc: set window_size to 15
authorJohann <johannkoenig@google.com>
Wed, 14 Mar 2018 01:31:26 +0000 (18:31 -0700)
committerJohann Koenig <johannkoenig@google.com>
Wed, 14 Mar 2018 19:30:38 +0000 (19:30 +0000)
commit6b2cc75622770fc9481c216789e0a684d7883e06
treed9df6d011f6fe5ade06d92e5b24f4fa19130f08c
parentf0a39790630dc842d86ea1b49e948859757371ad
spatial svc: set window_size to 15

Static analysis does not recognize that output_rc_stat guards
the usage of window_size. Clears this warning:
The right operand of '>' is a garbage value
if (frame_cnt > (unsigned int)rc.window_size) {

set_rate_control_stats sets window_size to 15. Zeroing it
just introduces another static analysis warning.

Change-Id: Ieee7b81a385f986e42189101cfa39279e519b368
examples/vp9_spatial_svc_encoder.c