Mercurial > libavcodec.hg
comparison alac.c @ 3071:cc0357a90e8f libavcodec
make some functions static (patch by Dieter < freebsd at sopwith.solgatos.com >)
author | aurel |
---|---|
date | Sat, 28 Jan 2006 16:05:06 +0000 |
parents | 0b546eab515d |
children | 41a01cea8885 |
comparison
equal
deleted
inserted
replaced
3070:3c32ecc8eefe | 3071:cc0357a90e8f |
---|---|
82 | 82 |
83 alac->outputsamples_buffer_a = av_malloc(alac->setinfo_max_samples_per_frame * 4); | 83 alac->outputsamples_buffer_a = av_malloc(alac->setinfo_max_samples_per_frame * 4); |
84 alac->outputsamples_buffer_b = av_malloc(alac->setinfo_max_samples_per_frame * 4); | 84 alac->outputsamples_buffer_b = av_malloc(alac->setinfo_max_samples_per_frame * 4); |
85 } | 85 } |
86 | 86 |
87 void alac_set_info(ALACContext *alac) | 87 static void alac_set_info(ALACContext *alac) |
88 { | 88 { |
89 unsigned char *ptr = alac->avctx->extradata; | 89 unsigned char *ptr = alac->avctx->extradata; |
90 | 90 |
91 ptr += 4; /* size */ | 91 ptr += 4; /* size */ |
92 ptr += 4; /* alac */ | 92 ptr += 4; /* alac */ |
123 input = input << 1; | 123 input = input << 1; |
124 } | 124 } |
125 return i; | 125 return i; |
126 } | 126 } |
127 | 127 |
128 void bastardized_rice_decompress(ALACContext *alac, | 128 static void bastardized_rice_decompress(ALACContext *alac, |
129 int32_t *output_buffer, | 129 int32_t *output_buffer, |
130 int output_size, | 130 int output_size, |
131 int readsamplesize, /* arg_10 */ | 131 int readsamplesize, /* arg_10 */ |
132 int rice_initialhistory, /* arg424->b */ | 132 int rice_initialhistory, /* arg424->b */ |
133 int rice_kmodifier, /* arg424->d */ | 133 int rice_kmodifier, /* arg424->d */ |