mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
changes some function declarations from () to (void) as per ansi c.
Patch by Stefan Huehner % stefan A huehner P org % Originally committed as revision 8625 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ee5c8a9bc4
commit
2b100ab2bf
@ -185,7 +185,7 @@ typedef struct {
|
|||||||
DSPContext dsp;
|
DSPContext dsp;
|
||||||
} DCAContext;
|
} DCAContext;
|
||||||
|
|
||||||
static void dca_init_vlcs()
|
static void dca_init_vlcs(void)
|
||||||
{
|
{
|
||||||
static int vlcs_inited = 0;
|
static int vlcs_inited = 0;
|
||||||
int i, j;
|
int i, j;
|
||||||
|
@ -3029,7 +3029,7 @@ static void hl_motion(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t
|
|||||||
prefetch_motion(h, 1);
|
prefetch_motion(h, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void decode_init_vlc(){
|
static void decode_init_vlc(void){
|
||||||
static int done = 0;
|
static int done = 0;
|
||||||
|
|
||||||
if (!done) {
|
if (!done) {
|
||||||
|
@ -179,6 +179,6 @@ int pcm_read_seek(AVFormatContext *s,
|
|||||||
/* rtsp.c */
|
/* rtsp.c */
|
||||||
int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f);
|
int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f);
|
||||||
/* rtp.c */
|
/* rtp.c */
|
||||||
void av_register_rtp_dynamic_payload_handlers();
|
void av_register_rtp_dynamic_payload_handlers(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -186,7 +186,7 @@ static void register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler)
|
|||||||
RTPFirstDynamicPayloadHandler= handler;
|
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(&mp4v_es_handler);
|
||||||
register_dynamic_payload_handler(&mpeg4_generic_handler);
|
register_dynamic_payload_handler(&mpeg4_generic_handler);
|
||||||
|
@ -312,7 +312,7 @@ static int h264_handle_packet(RTPDemuxContext * s,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------- public code */
|
/* ---------------- public code */
|
||||||
static void *h264_new_extradata()
|
static void *h264_new_extradata(void)
|
||||||
{
|
{
|
||||||
h264_rtp_extra_data *data =
|
h264_rtp_extra_data *data =
|
||||||
av_mallocz(sizeof(h264_rtp_extra_data) +
|
av_mallocz(sizeof(h264_rtp_extra_data) +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user