Mercurial > libavcodec.hg
comparison mpegaudiodec.c @ 1057:bb5de8a59da8 libavcodec
* static,const,compiler warning cleanup
author | kabi |
---|---|
date | Mon, 10 Feb 2003 09:35:32 +0000 |
parents | 1f9afd8b9131 |
children | b32afefe7d33 |
comparison
equal
deleted
inserted
replaced
1056:eb403f8158eb | 1057:bb5de8a59da8 |
---|---|
346 | 346 |
347 /* huffman decode tables */ | 347 /* huffman decode tables */ |
348 huff_code_table[0] = NULL; | 348 huff_code_table[0] = NULL; |
349 for(i=1;i<16;i++) { | 349 for(i=1;i<16;i++) { |
350 const HuffTable *h = &mpa_huff_tables[i]; | 350 const HuffTable *h = &mpa_huff_tables[i]; |
351 int xsize, n, x, y; | 351 int xsize, x, y; |
352 unsigned int n; | |
352 UINT8 *code_table; | 353 UINT8 *code_table; |
353 | 354 |
354 xsize = h->xsize; | 355 xsize = h->xsize; |
355 n = xsize * xsize; | 356 n = xsize * xsize; |
356 /* XXX: fail test */ | 357 /* XXX: fail test */ |
1446 } | 1447 } |
1447 | 1448 |
1448 /* | 1449 /* |
1449 * Seek back in the stream for backstep bytes (at most 511 bytes) | 1450 * Seek back in the stream for backstep bytes (at most 511 bytes) |
1450 */ | 1451 */ |
1451 static void seek_to_maindata(MPADecodeContext *s, long backstep) | 1452 static void seek_to_maindata(MPADecodeContext *s, unsigned int backstep) |
1452 { | 1453 { |
1453 UINT8 *ptr; | 1454 UINT8 *ptr; |
1454 | 1455 |
1455 /* compute current position in stream */ | 1456 /* compute current position in stream */ |
1456 ptr = s->gb.buffer + (get_bits_count(&s->gb)>>3); | 1457 ptr = s->gb.buffer + (get_bits_count(&s->gb)>>3); |