# HG changeset patch # User gpoirier # Date 1175687468 0 # Node ID fbc66bf1f15d222ae8c59bf9280bb861a6794bb8 # Parent 1805da944f22034b90af6f4e7308cb6e43db671d changes some function declarations from () to (void) as per ansi c. Patch by Stefan Huehner % stefan A huehner P org % diff -r 1805da944f22 -r fbc66bf1f15d allformats.h --- 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 diff -r 1805da944f22 -r fbc66bf1f15d rtp.c --- 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); diff -r 1805da944f22 -r fbc66bf1f15d rtp_h264.c --- 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) +