diff libaf/af_lavcac3enc.c @ 25962:afa125da85cf

typo fix: inited --> initialized
author diego
date Thu, 14 Feb 2008 14:23:55 +0000
parents 0c10c8859be8
children 24ba95d88181
line wrap: on
line diff
--- a/libaf/af_lavcac3enc.c	Wed Feb 13 21:36:27 2008 +0000
+++ b/libaf/af_lavcac3enc.c	Thu Feb 14 14:23:55 2008 +0000
@@ -45,7 +45,7 @@
     int min_channel_num;
 } af_ac3enc_t;
 
-extern int  avcodec_inited;
+extern int  avcodec_initialized;
 
 // Initialization and runtime control
 static int control(struct af_instance_s *af, int cmd, void *arg)
@@ -287,10 +287,10 @@
     af->data=calloc(1,sizeof(af_data_t));
     af->setup=s;
 
-    if (!avcodec_inited){
+    if (!avcodec_initialized){
         avcodec_init();
         avcodec_register_all();
-        avcodec_inited=1;
+        avcodec_initialized=1;
     }
 
     s->lavc_acodec = avcodec_find_encoder_by_name("ac3");