shithub: libvpx

Download patch

ref: 86a89d740ed7aaf1354b8a6c71638e2ea2b102c0
parent: 7af0e984b8b83344e013bb24df18322823197eb2
author: Tom Finegan <tomfinegan@google.com>
date: Wed May 7 14:12:13 EDT 2014

vp9_svc_layercontext: Clean up function definition mismatch.

vp9_is_upper_layer_key_frame() definition does not match declaration--
it was missing the second const.

Change-Id: I71312579eb443be1924b8b06d8b3177c3dcb40f3

--- a/vp9/encoder/vp9_svc_layercontext.c
+++ b/vp9/encoder/vp9_svc_layercontext.c
@@ -221,7 +221,7 @@
   ++lc->current_video_frame_in_layer;
 }
 
-int vp9_is_upper_layer_key_frame(const VP9_COMP *cpi) {
+int vp9_is_upper_layer_key_frame(const VP9_COMP *const cpi) {
   return cpi->use_svc &&
          cpi->svc.number_temporal_layers == 1 &&
          cpi->svc.spatial_layer_id > 0 &&