changeset 1983:fbc66bf1f15d libavformat

changes some function declarations from () to (void) as per ansi c. Patch by Stefan Huehner % stefan A huehner P org %
author gpoirier
date Wed, 04 Apr 2007 11:51:08 +0000
parents 1805da944f22
children 2163852713c5
files allformats.h rtp.c rtp_h264.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/allformats.h	Tue Apr 03 21:09:36 2007 +0000
+++ b/allformats.h	Wed Apr 04 11:51:08 2007 +0000
@@ -179,6 +179,6 @@
 /* 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
--- a/rtp.c	Tue Apr 03 21:09:36 2007 +0000
+++ b/rtp.c	Wed Apr 04 11:51:08 2007 +0000
@@ -186,7 +186,7 @@
     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);
--- a/rtp_h264.c	Tue Apr 03 21:09:36 2007 +0000
+++ b/rtp_h264.c	Wed Apr 04 11:51:08 2007 +0000
@@ -312,7 +312,7 @@
 }
 
 /* ---------------- 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) +