[FFmpeg-cvslog] alac: change some data types to plain int

Justin Ruggles git at videolan.org
Thu Jul 19 23:35:56 CEST 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Jul  9 16:56:34 2012 -0400| [bae83f2c746f770f92ab4761f4c7bf38ed5045c5] | committer: Justin Ruggles

alac: change some data types to plain int

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bae83f2c746f770f92ab4761f4c7bf38ed5045c5
---

 libavcodec/alac.c |   10 +++++-----
 1 file 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 ffmpeg-cvslog mailing list