Mercurial > pidgin
diff src/mediastreamer/msavdecoder.h @ 12323:fc464a0abccc
[gaim-migrate @ 14627]
Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 04 Dec 2005 18:19:56 +0000 |
parents | e67993da8a22 |
children |
line wrap: on
line diff
--- a/src/mediastreamer/msavdecoder.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msavdecoder.h Sun Dec 04 18:19:56 2005 +0000 @@ -66,9 +66,9 @@ #define MS_AVDECODER(filter) ((MSAVDecoder*)(filter)) #define MS_AVDECODER_CLASS(klass) ((MSAVDecoderClass*)(klass)) -MSFilter *ms_h263_decoder_new(); -MSFilter *ms_mpeg_decoder_new(); -MSFilter *ms_mpeg4_decoder_new(); +MSFilter *ms_h263_decoder_new(void); +MSFilter *ms_mpeg_decoder_new(void); +MSFilter *ms_mpeg4_decoder_new(void); MSFilter * ms_AVdecoder_new_with_codec(enum CodecID codec_id); gint ms_AVdecoder_set_format(MSAVDecoder *dec, gchar *fmt); @@ -82,6 +82,6 @@ void ms_AVdecoder_destroy( MSAVDecoder *obj); void ms_AVdecoder_process(MSAVDecoder *r); -void ms_AVCodec_init(); +void ms_AVCodec_init(void); #endif