diff --git a/libavcodec/dca.c b/libavcodec/dca.c index a57dcdc4421f7db92d5ba1210c53ad06faaa5a17..b1a6dbb2f92ec7038e583423724457afad9c0eaa 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -185,7 +185,7 @@ typedef struct { DSPContext dsp; } DCAContext; -static void dca_init_vlcs() +static void dca_init_vlcs(void) { static int vlcs_inited = 0; int i, j; diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 2750173b14c6ee261644509aa108d7a6b5cef691..085e18a896b31465ef47c81f59ff10a0d4c95243 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3029,7 +3029,7 @@ static void hl_motion(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t prefetch_motion(h, 1); } -static void decode_init_vlc(){ +static void decode_init_vlc(void){ static int done = 0; if (!done) { diff --git a/libavformat/allformats.h b/libavformat/allformats.h index e82ab80f5a85e4aa1b13acbeba1133969f5ed43d..8b36c98c5f19b1abde56efffb24dfe2785704737 100644 --- a/libavformat/allformats.h +++ b/libavformat/allformats.h @@ -179,6 +179,6 @@ int pcm_read_seek(AVFormatContext *s, /* rtsp.c */ int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f); /* rtp.c */ -void av_register_rtp_dynamic_payload_handlers(); +void av_register_rtp_dynamic_payload_handlers(void); #endif diff --git a/libavformat/rtp.c b/libavformat/rtp.c index 493a89cf3f71ae3f4d763ec1f71e5aafe065b033..439fd6d3f8e62e1494c018a908b409cf1f5edb7f 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -186,7 +186,7 @@ static void register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler) RTPFirstDynamicPayloadHandler= handler; } -void av_register_rtp_dynamic_payload_handlers() +void av_register_rtp_dynamic_payload_handlers(void) { register_dynamic_payload_handler(&mp4v_es_handler); register_dynamic_payload_handler(&mpeg4_generic_handler); diff --git a/libavformat/rtp_h264.c b/libavformat/rtp_h264.c index d38e8780d82e59db2a5a61921d7c940c9d1b0c8a..0ae6aa664d924ee3f1c4b68ca79cfb965d154630 100644 --- a/libavformat/rtp_h264.c +++ b/libavformat/rtp_h264.c @@ -312,7 +312,7 @@ static int h264_handle_packet(RTPDemuxContext * s, } /* ---------------- public code */ -static void *h264_new_extradata() +static void *h264_new_extradata(void) { h264_rtp_extra_data *data = av_mallocz(sizeof(h264_rtp_extra_data) +