Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 12322:c7ae1fd0827d | 12323:fc464a0abccc |
|---|---|
| 64 | 64 |
| 65 /* PUBLIC */ | 65 /* PUBLIC */ |
| 66 #define MS_AVDECODER(filter) ((MSAVDecoder*)(filter)) | 66 #define MS_AVDECODER(filter) ((MSAVDecoder*)(filter)) |
| 67 #define MS_AVDECODER_CLASS(klass) ((MSAVDecoderClass*)(klass)) | 67 #define MS_AVDECODER_CLASS(klass) ((MSAVDecoderClass*)(klass)) |
| 68 | 68 |
| 69 MSFilter *ms_h263_decoder_new(); | 69 MSFilter *ms_h263_decoder_new(void); |
| 70 MSFilter *ms_mpeg_decoder_new(); | 70 MSFilter *ms_mpeg_decoder_new(void); |
| 71 MSFilter *ms_mpeg4_decoder_new(); | 71 MSFilter *ms_mpeg4_decoder_new(void); |
| 72 MSFilter * ms_AVdecoder_new_with_codec(enum CodecID codec_id); | 72 MSFilter * ms_AVdecoder_new_with_codec(enum CodecID codec_id); |
| 73 | 73 |
| 74 gint ms_AVdecoder_set_format(MSAVDecoder *dec, gchar *fmt); | 74 gint ms_AVdecoder_set_format(MSAVDecoder *dec, gchar *fmt); |
| 75 void ms_AVdecoder_set_width(MSAVDecoder *av,gint w); | 75 void ms_AVdecoder_set_width(MSAVDecoder *av,gint w); |
| 76 void ms_AVdecoder_set_height(MSAVDecoder *av,gint h); | 76 void ms_AVdecoder_set_height(MSAVDecoder *av,gint h); |
| 80 void ms_AVdecoder_uninit(MSAVDecoder *enc); | 80 void ms_AVdecoder_uninit(MSAVDecoder *enc); |
| 81 void ms_AVdecoder_class_init(MSAVDecoderClass *klass); | 81 void ms_AVdecoder_class_init(MSAVDecoderClass *klass); |
| 82 void ms_AVdecoder_destroy( MSAVDecoder *obj); | 82 void ms_AVdecoder_destroy( MSAVDecoder *obj); |
| 83 void ms_AVdecoder_process(MSAVDecoder *r); | 83 void ms_AVdecoder_process(MSAVDecoder *r); |
| 84 | 84 |
| 85 void ms_AVCodec_init(); | 85 void ms_AVCodec_init(void); |
| 86 | 86 |
| 87 #endif | 87 #endif |
