]> granicus.if.org Git - libvpx/commitdiff
fix vp9_svc_adjust_frame_rate signature
authorJames Zern <jzern@google.com>
Sat, 8 Sep 2018 20:53:46 +0000 (13:53 -0700)
committerJames Zern <jzern@google.com>
Sat, 8 Sep 2018 20:55:25 +0000 (13:55 -0700)
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

vp9/encoder/vp9_svc_layercontext.c

index 78a771a41d640c74a388b7263059d734c1c57240..1321c45757518a1762df276c5f6802fff72cb8eb 100644 (file)
@@ -1201,7 +1201,7 @@ void vp9_svc_update_ref_frame(VP9_COMP *const cpi) {
   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);