summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorStefan Huehner <stefan@huehner.org>2007-04-04 11:51:08 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-04-04 11:51:08 +0000
commit2b100ab2bff7993e2c662e80f53cdb76889a71d5 (patch)
tree1c0c4279ad23377e5676dc4f0bafe1103f03042d /libavformat
parentee5c8a9bc44d0a0e608e74f85debdf73609e4d68 (diff)
changes some function declarations from () to (void) as per ansi c.
Patch by Stefan Huehner % stefan A huehner P org % Originally committed as revision 8625 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/allformats.h2
-rw-r--r--libavformat/rtp.c2
-rw-r--r--libavformat/rtp_h264.c2
3 files changed, 3 insertions, 3 deletions
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) +