mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Mark parameterless function declarations as 'void'.
This commit is contained in:
parent
48520772d9
commit
e169428529
@ -1208,7 +1208,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
|
||||
/**
|
||||
* Caclulate quantization tables for version b
|
||||
*/
|
||||
static av_cold void binkb_calc_quant()
|
||||
static av_cold void binkb_calc_quant(void)
|
||||
{
|
||||
uint8_t inv_bink_scan[64];
|
||||
double s[64];
|
||||
|
@ -33,7 +33,8 @@
|
||||
#define ECONNREFUSED WSAECONNREFUSED
|
||||
#define EINPROGRESS WSAEINPROGRESS
|
||||
|
||||
static inline int ff_neterrno() {
|
||||
static inline int ff_neterrno(void)
|
||||
{
|
||||
int err = WSAGetLastError();
|
||||
switch (err) {
|
||||
case WSAEWOULDBLOCK:
|
||||
|
Loading…
Reference in New Issue
Block a user