Mercurial > pidgin
diff src/mediastreamer/msavencoder.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/msavencoder.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msavencoder.h Sun Dec 04 18:19:56 2005 +0000 @@ -67,9 +67,9 @@ #define MS_AVENCODER(filter) ((MSAVEncoder*)(filter)) #define MS_AVENCODER_CLASS(klass) ((MSAVEncoderClass*)(klass)) -MSFilter *ms_h263_encoder_new(); -MSFilter *ms_mpeg_encoder_new(); -MSFilter *ms_mpeg4_encoder_new(); +MSFilter *ms_h263_encoder_new(void); +MSFilter *ms_mpeg_encoder_new(void); +MSFilter *ms_mpeg4_encoder_new(void); MSFilter * ms_AVencoder_new_with_codec(enum CodecID codec_id, MSCodecInfo *info); gint ms_AVencoder_set_format(MSAVEncoder *enc, gchar *fmt);
