mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Add missing void keyword to parameterless function declarations.
Originally committed as revision 16860 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f92a6c66ed
commit
dc8a7c93d3
@ -48,7 +48,7 @@ void *fast_memcpy(void *a, const void *b, size_t c){return memcpy(a,b,c);};
|
|||||||
/* reference fdct/idct */
|
/* reference fdct/idct */
|
||||||
void fdct(DCTELEM *block);
|
void fdct(DCTELEM *block);
|
||||||
void idct(DCTELEM *block);
|
void idct(DCTELEM *block);
|
||||||
void init_fdct();
|
void init_fdct(void);
|
||||||
|
|
||||||
void ff_mmx_idct(DCTELEM *data);
|
void ff_mmx_idct(DCTELEM *data);
|
||||||
void ff_mmxext_idct(DCTELEM *data);
|
void ff_mmxext_idct(DCTELEM *data);
|
||||||
|
@ -95,7 +95,7 @@ static const uint8_t ccitt_group3_2d_lens[11] = {
|
|||||||
|
|
||||||
static VLC ccitt_vlc[2], ccitt_group3_2d_vlc;
|
static VLC ccitt_vlc[2], ccitt_group3_2d_vlc;
|
||||||
|
|
||||||
av_cold void ff_ccitt_unpack_init()
|
av_cold void ff_ccitt_unpack_init(void)
|
||||||
{
|
{
|
||||||
static VLC_TYPE code_table1[528][2];
|
static VLC_TYPE code_table1[528][2];
|
||||||
static VLC_TYPE code_table2[648][2];
|
static VLC_TYPE code_table2[648][2];
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
/**
|
/**
|
||||||
* initialize upacker code
|
* initialize upacker code
|
||||||
*/
|
*/
|
||||||
void ff_ccitt_unpack_init();
|
void ff_ccitt_unpack_init(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* unpack data compressed with CCITT Group 3 1/2-D or Group 4 method
|
* unpack data compressed with CCITT Group 3 1/2-D or Group 4 method
|
||||||
|
@ -46,7 +46,7 @@ void fdct (short *block);
|
|||||||
/* private data */
|
/* private data */
|
||||||
static double c[8][8]; /* transform coefficients */
|
static double c[8][8]; /* transform coefficients */
|
||||||
|
|
||||||
void init_fdct()
|
void init_fdct(void)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
double s;
|
double s;
|
||||||
|
@ -46,7 +46,7 @@ static AVCRC crc_63[1024];
|
|||||||
static AVCRC crc_1D[1024];
|
static AVCRC crc_1D[1024];
|
||||||
static AVCRC crc_2D[1024];
|
static AVCRC crc_2D[1024];
|
||||||
|
|
||||||
void av_cold ff_mlp_init_crc()
|
av_cold void ff_mlp_init_crc(void)
|
||||||
{
|
{
|
||||||
if (!crc_init) {
|
if (!crc_init) {
|
||||||
av_crc_init(crc_63, 0, 8, 0x63, sizeof(crc_63));
|
av_crc_init(crc_63, 0, 8, 0x63, sizeof(crc_63));
|
||||||
|
@ -106,7 +106,7 @@ uint8_t ff_mlp_restart_checksum(const uint8_t *buf, unsigned int bit_size);
|
|||||||
*/
|
*/
|
||||||
uint8_t ff_mlp_calculate_parity(const uint8_t *buf, unsigned int buf_size);
|
uint8_t ff_mlp_calculate_parity(const uint8_t *buf, unsigned int buf_size);
|
||||||
|
|
||||||
void ff_mlp_init_crc();
|
void ff_mlp_init_crc(void);
|
||||||
|
|
||||||
/** XOR four bytes into one. */
|
/** XOR four bytes into one. */
|
||||||
static inline uint8_t xor_32_to_8(uint32_t value)
|
static inline uint8_t xor_32_to_8(uint32_t value)
|
||||||
|
@ -141,7 +141,7 @@ static VLC huff_vlc[3];
|
|||||||
|
|
||||||
/** Initialize static data, constant between all invocations of the codec. */
|
/** Initialize static data, constant between all invocations of the codec. */
|
||||||
|
|
||||||
static av_cold void init_static()
|
static av_cold void init_static(void)
|
||||||
{
|
{
|
||||||
INIT_VLC_STATIC(&huff_vlc[0], VLC_BITS, 18,
|
INIT_VLC_STATIC(&huff_vlc[0], VLC_BITS, 18,
|
||||||
&ff_mlp_huffman_tables[0][0][1], 2, 1,
|
&ff_mlp_huffman_tables[0][0][1], 2, 1,
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
static DECLARE_ALIGNED_16(MPA_INT, mpa_window[512]);
|
static DECLARE_ALIGNED_16(MPA_INT, mpa_window[512]);
|
||||||
|
|
||||||
void ff_mpc_init()
|
void ff_mpc_init(void)
|
||||||
{
|
{
|
||||||
ff_mpa_synth_init(mpa_window);
|
ff_mpa_synth_init(mpa_window);
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ typedef struct {
|
|||||||
DECLARE_ALIGNED_16(int32_t, sb_samples[MPA_MAX_CHANNELS][36][SBLIMIT]);
|
DECLARE_ALIGNED_16(int32_t, sb_samples[MPA_MAX_CHANNELS][36][SBLIMIT]);
|
||||||
} MPCContext;
|
} MPCContext;
|
||||||
|
|
||||||
void ff_mpc_init();
|
void ff_mpc_init(void);
|
||||||
void ff_mpc_dequantize_and_synth(MPCContext *c, int maxband, void *dst);
|
void ff_mpc_dequantize_and_synth(MPCContext *c, int maxband, void *dst);
|
||||||
|
|
||||||
#endif /* AVCODEC_MPC_H */
|
#endif /* AVCODEC_MPC_H */
|
||||||
|
@ -101,7 +101,7 @@ static void rv34_gen_vlc(const uint8_t *bits, int size, VLC *vlc, const uint8_t
|
|||||||
/**
|
/**
|
||||||
* Initialize all tables.
|
* Initialize all tables.
|
||||||
*/
|
*/
|
||||||
static av_cold void rv34_init_tables()
|
static av_cold void rv34_init_tables(void)
|
||||||
{
|
{
|
||||||
int i, j, k;
|
int i, j, k;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ static VLC ptype_vlc[NUM_PTYPE_VLCS], btype_vlc[NUM_BTYPE_VLCS];
|
|||||||
/**
|
/**
|
||||||
* Initialize all tables.
|
* Initialize all tables.
|
||||||
*/
|
*/
|
||||||
static av_cold void rv40_init_tables()
|
static av_cold void rv40_init_tables(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -3988,7 +3988,7 @@ static void MC_avg_no_round_xy_8_vis (uint8_t * dest, const uint8_t * _ref,
|
|||||||
#define ACCEL_SPARC_VIS 1
|
#define ACCEL_SPARC_VIS 1
|
||||||
#define ACCEL_SPARC_VIS2 2
|
#define ACCEL_SPARC_VIS2 2
|
||||||
|
|
||||||
static int vis_level ()
|
static int vis_level(void)
|
||||||
{
|
{
|
||||||
int accel = 0;
|
int accel = 0;
|
||||||
accel |= ACCEL_SPARC_VIS;
|
accel |= ACCEL_SPARC_VIS;
|
||||||
|
Loading…
Reference in New Issue
Block a user