[libav-commits] alac: change some data types to plain int

Justin Ruggles git at libav.org
Thu Jul 19 20:25:11 CEST 2012


Module: libav
Branch: master
Commit: bae83f2c746f770f92ab4761f4c7bf38ed5045c5

Author:    Justin Ruggles <justin.ruggles at gmail.com>
Committer: Justin Ruggles <justin.ruggles at gmail.com>
Date:      Mon Jul  9 16:56:34 2012 -0400

alac: change some data types to plain int

---

 libavcodec/alac.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 1c85098..7732f17 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -263,8 +263,8 @@ static void lpc_prediction(int32_t *error_buffer, int32_t *buffer_out,
 }
 
 static void decorrelate_stereo(int32_t *buffer[2],
-                               int nb_samples, uint8_t decorr_shift,
-                               uint8_t decorr_left_weight)
+                               int nb_samples, int decorr_shift,
+                               int decorr_left_weight)
 {
     int i;
 
@@ -298,10 +298,10 @@ static int decode_element(AVCodecContext *avctx, void *data, int ch_index,
 {
     ALACContext *alac = avctx->priv_data;
     int has_size;
-    unsigned int bps;
+    int bps;
     int is_compressed;
-    uint8_t decorr_shift;
-    uint8_t decorr_left_weight;
+    int decorr_shift;
+    int decorr_left_weight;
     uint32_t output_samples;
     int i, ch, ret;
 



More information about the libav-commits mailing list