Mercurial > mplayer.hg
comparison libmpcodecs/ae_lavc.c @ 25962:afa125da85cf
typo fix: inited --> initialized
author | diego |
---|---|
date | Thu, 14 Feb 2008 14:23:55 +0000 |
parents | dfa8a510c81c |
children | 1318e956c092 |
comparison
equal
deleted
inserted
replaced
25961:354ad909efcf | 25962:afa125da85cf |
---|---|
25 static AVCodecContext *lavc_actx; | 25 static AVCodecContext *lavc_actx; |
26 extern char *lavc_param_acodec; | 26 extern char *lavc_param_acodec; |
27 extern int lavc_param_abitrate; | 27 extern int lavc_param_abitrate; |
28 extern int lavc_param_atag; | 28 extern int lavc_param_atag; |
29 extern int lavc_param_audio_global_header; | 29 extern int lavc_param_audio_global_header; |
30 extern int avcodec_inited; | 30 extern int avcodec_initialized; |
31 static int compressed_frame_size = 0; | 31 static int compressed_frame_size = 0; |
32 #ifdef USE_LIBAVFORMAT | 32 #ifdef USE_LIBAVFORMAT |
33 #ifdef USE_LIBAVFORMAT_SO | 33 #ifdef USE_LIBAVFORMAT_SO |
34 #include <ffmpeg/avformat.h> | 34 #include <ffmpeg/avformat.h> |
35 #else | 35 #else |
176 { | 176 { |
177 mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_NoLavcAudioCodecName); | 177 mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_NoLavcAudioCodecName); |
178 return 0; | 178 return 0; |
179 } | 179 } |
180 | 180 |
181 if(!avcodec_inited){ | 181 if(!avcodec_initialized){ |
182 avcodec_init(); | 182 avcodec_init(); |
183 avcodec_register_all(); | 183 avcodec_register_all(); |
184 avcodec_inited=1; | 184 avcodec_initialized=1; |
185 } | 185 } |
186 | 186 |
187 lavc_acodec = avcodec_find_encoder_by_name(lavc_param_acodec); | 187 lavc_acodec = avcodec_find_encoder_by_name(lavc_param_acodec); |
188 if (!lavc_acodec) | 188 if (!lavc_acodec) |
189 { | 189 { |