Mercurial > mplayer.hg
diff libmpcodecs/ad_ffmpeg.c @ 25962:afa125da85cf
typo fix: inited --> initialized
| author | diego |
|---|---|
| date | Thu, 14 Feb 2008 14:23:55 +0000 |
| parents | dfa8a510c81c |
| children | 1318e956c092 |
line wrap: on
line diff
--- a/libmpcodecs/ad_ffmpeg.c Wed Feb 13 21:36:27 2008 +0000 +++ b/libmpcodecs/ad_ffmpeg.c Thu Feb 14 14:23:55 2008 +0000 @@ -30,7 +30,7 @@ #include "avcodec.h" #endif -extern int avcodec_inited; +extern int avcodec_initialized; static int preinit(sh_audio_t *sh) { @@ -45,10 +45,10 @@ AVCodec *lavc_codec; mp_msg(MSGT_DECAUDIO,MSGL_V,"FFmpeg's libavcodec audio codec\n"); - if(!avcodec_inited){ + if(!avcodec_initialized){ avcodec_init(); avcodec_register_all(); - avcodec_inited=1; + avcodec_initialized=1; } lavc_codec = (AVCodec *)avcodec_find_decoder_by_name(sh_audio->codec->dll);
