ref: 96e1c6b7ce910ed4b7c79069a9d55307bd6dd257
parent: 2d65fc2ce68a1d82680bfc4de4148f5684e02109
author: James Zern <[email protected]>
date: Sat Sep 8 09:53:46 EDT 2018
fix vp9_svc_adjust_frame_rate signature match the const in the header; quiets a visual studio warning. since: 04b3d49ba vp9-svc: Allow for setting framerate per spatial layer. Change-Id: I0a216eb8fe1a689fe6822bbfac70f7c98e9b1a70
--- a/vp9/encoder/vp9_svc_layercontext.c
+++ b/vp9/encoder/vp9_svc_layercontext.c
@@ -1201,7 +1201,7 @@
vp9_svc_update_ref_frame_buffer_idx(cpi);
}
-void vp9_svc_adjust_frame_rate(VP9_COMP *cpi) {
+void vp9_svc_adjust_frame_rate(VP9_COMP *const cpi) {
int64_t this_duration =
cpi->svc.timebase_fac * cpi->svc.duration[cpi->svc.spatial_layer_id];
vp9_new_framerate(cpi, 10000000.0 / this_duration);