summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/dca.c2
-rw-r--r--libavcodec/h264.c2
-rw-r--r--libavformat/allformats.h2
-rw-r--r--libavformat/rtp.c2
-rw-r--r--libavformat/rtp_h264.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index a57dcdc442..b1a6dbb2f9 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 2750173b14..085e18a896 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 e82ab80f5a..8b36c98c5f 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 493a89cf3f..439fd6d3f8 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 d38e8780d8..0ae6aa664d 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) +