[Ffmpeg-devel] [PATCH] part 10 - portability fixes (ILP32 vs LP64)
Dieter
freebsd
Sun Jan 29 21:18:09 CET 2006
Diffs for file: libavcodec/qdm2.c
===================================================================
RCS file: RCS/qdm2.c,v
retrieving revision 1.1
diff -u -r1.1 qdm2.c
--- qdm2.c 2006/01/26 20:59:38 1.1
+++ qdm2.c 2006/01/26 21:29:25
@@ -230,7 +230,7 @@
static MPA_INT mpa_window[512] __attribute__((aligned(16)));
-static void softclip_table_init() {
+static void softclip_table_init(void) {
int i;
double dfl = SOFTCLIP_THRESHOLD - 32767;
float delta = 1.0 / -dfl;
@@ -240,7 +240,7 @@
// random generated table
-static void rnd_table_init() {
+static void rnd_table_init(void) {
int i,j;
uint32_t ldw,hdw;
uint64_t tmp64_1;
@@ -276,7 +276,7 @@
}
-static void init_noise_samples() {
+static void init_noise_samples(void) {
int i;
int random_seed = 0;
float delta = 1.0 / 16384.0;
@@ -287,7 +287,7 @@
}
-static void qdm2_init_vlc()
+static void qdm2_init_vlc(void)
{
init_vlc (&vlc_tab_level, 8, 24,
vlc_tab_level_huffbits, 1, 1,
@@ -525,7 +525,7 @@
* @param channels number of channels
* @param coding_method q->coding_method[0][0][0]
*/
- void fix_coding_method_array (int sb, int channels, sb_int8_array coding_method)
+static void fix_coding_method_array (int sb, int channels, sb_int8_array coding_method)
{
int j,k;
int ch;
@@ -1690,7 +1690,7 @@
*
* @param q context
*/
-void qdm2_init(QDM2Context *q) {
+static void qdm2_init(QDM2Context *q) {
static int inited = 0;
if (inited != 0)
@@ -1942,7 +1942,7 @@
}
-void qdm2_decode (QDM2Context *q, uint8_t *in, int16_t *out)
+static void qdm2_decode (QDM2Context *q, uint8_t *in, int16_t *out)
{
int ch, i;
const int frame_size = (q->frame_size * q->channels);
More information about the ffmpeg-devel
mailing list