[Ffmpeg-cvslog] r8625 - in trunk: libavcodec/dca.c libavcodec/h264.c libavformat/allformats.h libavformat/rtp.c libavformat/rtp_h264.c
gpoirier
subversion
Wed Apr 4 13:51:08 CEST 2007
Author: gpoirier
Date: Wed Apr 4 13:51:08 2007
New Revision: 8625
Modified:
trunk/libavcodec/dca.c
trunk/libavcodec/h264.c
trunk/libavformat/allformats.h
trunk/libavformat/rtp.c
trunk/libavformat/rtp_h264.c
Log:
changes some function declarations from () to (void) as per ansi c.
Patch by Stefan Huehner % stefan A huehner P org %
Modified: trunk/libavcodec/dca.c
==============================================================================
--- trunk/libavcodec/dca.c (original)
+++ trunk/libavcodec/dca.c Wed Apr 4 13:51:08 2007
@@ -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;
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Wed Apr 4 13:51:08 2007
@@ -3029,7 +3029,7 @@ static void hl_motion(H264Context *h, ui
prefetch_motion(h, 1);
}
-static void decode_init_vlc(){
+static void decode_init_vlc(void){
static int done = 0;
if (!done) {
Modified: trunk/libavformat/allformats.h
==============================================================================
--- trunk/libavformat/allformats.h (original)
+++ trunk/libavformat/allformats.h Wed Apr 4 13:51:08 2007
@@ -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
Modified: trunk/libavformat/rtp.c
==============================================================================
--- trunk/libavformat/rtp.c (original)
+++ trunk/libavformat/rtp.c Wed Apr 4 13:51:08 2007
@@ -186,7 +186,7 @@ static void register_dynamic_payload_han
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);
Modified: trunk/libavformat/rtp_h264.c
==============================================================================
--- trunk/libavformat/rtp_h264.c (original)
+++ trunk/libavformat/rtp_h264.c Wed Apr 4 13:51:08 2007
@@ -312,7 +312,7 @@ static int h264_handle_packet(RTPDemuxCo
}
/* ---------------- 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) +
More information about the ffmpeg-cvslog
mailing list