comparison libmpcodecs/ae_lavc.c @ 17096:c7f6ba8fb63c

fix ae_lavc.c:168: warning: implicit declaration of function 'codec_get_wav_tag'
author rathann
date Mon, 05 Dec 2005 01:30:31 +0000
parents 6ff3379a0862
children 60189cd9bbc8
comparison
equal deleted inserted replaced
17095:33d5cf9479ce 17096:c7f6ba8fb63c
24 extern char *lavc_param_acodec; 24 extern char *lavc_param_acodec;
25 extern int lavc_param_abitrate; 25 extern int lavc_param_abitrate;
26 extern int lavc_param_atag; 26 extern int lavc_param_atag;
27 extern int avcodec_inited; 27 extern int avcodec_inited;
28 static int compressed_frame_size = 0; 28 static int compressed_frame_size = 0;
29 #ifdef USE_LIBAVFORMAT
30 extern unsigned int codec_get_wav_tag(int id);
31 #endif
29 32
30 static int bind_lavc(audio_encoder_t *encoder, muxer_stream_t *mux_a) 33 static int bind_lavc(audio_encoder_t *encoder, muxer_stream_t *mux_a)
31 { 34 {
32 mux_a->wf = malloc(sizeof(WAVEFORMATEX)+lavc_actx->extradata_size+256); 35 mux_a->wf = malloc(sizeof(WAVEFORMATEX)+lavc_actx->extradata_size+256);
33 mux_a->wf->wFormatTag = lavc_param_atag; 36 mux_a->wf->wFormatTag = lavc_param_atag;