diff --git a/examples/vpx_temporal_scalable_patterns.c b/examples/vpx_temporal_scalable_patterns.c
index e09c1493290844189dc5c24c2e505a385cf9bfd5..11d331bd88e154d59f4bd4b8f06719855752097c 100644
--- a/examples/vpx_temporal_scalable_patterns.c
+++ b/examples/vpx_temporal_scalable_patterns.c
@@ -361,7 +361,7 @@ int main(int argc, char **argv) {
   int max_intra_size_pct;
   vpx_svc_layer_id_t layer_id = {0, 0};
   char *codec_type;
-  const vpx_codec_iface_t *(*interface)(void);
+  vpx_codec_iface_t *(*interface)(void);
   unsigned int fourcc;
   struct VpxInputContext input_ctx = {0};