ref: 6f9163db9518fb7af6d35960c6f365c92a749807
parent: c257d608fce16f543a2fe8b74f0f3b10b71e7dee
author: Johann <johannkoenig@google.com>
date: Tue Mar 13 13:11:48 EDT 2018
spatial svc: remove unused locals Clears static analysis warning: Value stored to 'tl' is never read Change-Id: If047a74f508288c63d5b83ed0f3ad34f791f9312
--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -839,7 +839,6 @@
// window of size rc->window, shifted by rc->window / 2.
// Ignore first window segment, due to key frame.
if (frame_cnt > (unsigned int)rc.window_size) {
- tl = layer_id.temporal_layer_id;
for (sl = 0; sl < enc_cfg.ss_number_layers; ++sl) {
sum_bitrate += 0.001 * 8.0 * sizes[sl] * framerate;
}
@@ -856,7 +855,6 @@
// Second shifted window.
if (frame_cnt >
(unsigned int)(rc.window_size + rc.window_size / 2)) {
- tl = layer_id.temporal_layer_id;
for (sl = 0; sl < enc_cfg.ss_number_layers; ++sl) {
sum_bitrate2 += 0.001 * 8.0 * sizes[sl] * framerate;
}