shithub: opus

Download patch

ref: db082963b98323d88535f4522ba710208ba93a1a
parent: 6554681d17b1a6bfe79cfeff51cbeeeaec279a3f
author: Felicia Lim <flim@google.com>
date: Fri Mar 1 08:00:18 EST 2019

Fix mismatching arg names in function declaration and definition

--- a/celt/rate.h
+++ b/celt/rate.h
@@ -95,7 +95,7 @@
  @param pulses Number of pulses per band (returned)
  @return Total number of bits allocated
 */
-int clt_compute_allocation(const CELTMode *m, int start, int end, const int *offsets, const int *cap, int alloc_trim, int *intensity, int *dual_stero,
+int clt_compute_allocation(const CELTMode *m, int start, int end, const int *offsets, const int *cap, int alloc_trim, int *intensity, int *dual_stereo,
       opus_int32 total, opus_int32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwidth);
 
 #endif
--- a/src/mapping_matrix.h
+++ b/src/mapping_matrix.h
@@ -53,7 +53,7 @@
 opus_int16 *mapping_matrix_get_data(const MappingMatrix *matrix);
 
 void mapping_matrix_init(
-    MappingMatrix * const st,
+    MappingMatrix * const matrix,
     int rows,
     int cols,
     int gain,