diff libmpcodecs/vf_zrmjpeg.c @ 25962:afa125da85cf

typo fix: inited --> initialized
author diego
date Thu, 14 Feb 2008 14:23:55 +0000
parents 288d00a5c11e
children e353b6f0dad5
line wrap: on
line diff
--- a/libmpcodecs/vf_zrmjpeg.c	Wed Feb 13 21:36:27 2008 +0000
+++ b/libmpcodecs/vf_zrmjpeg.c	Thu Feb 14 14:23:55 2008 +0000
@@ -39,7 +39,7 @@
 #undef free
 #undef realloc
 
-extern int avcodec_inited;
+extern int avcodec_initialized;
 
 /* some convenient #define's, is this portable enough? */
 /// Printout  with vf_zrmjpeg: prefix at VERBOSE level
@@ -52,7 +52,7 @@
 
 // "local" flag in vd_ffmpeg.c. If not set, avcodec_init() et. al. need to be called
 // set when init is done, so that initialization is not done twice.
-extern int avcodec_inited;
+extern int avcodec_initialized;
 
 /// structure copied from mjpeg.c
 /* zrmjpeg_encode_mb needs access to these tables for the black & white
@@ -479,10 +479,10 @@
 	/* if libavcodec is used by the decoder then we must not
 	 * initialize again, but if it is not initialized then we must
 	 * initialize it here. */
-	if (!avcodec_inited) {
+	if (!avcodec_initialized) {
 		avcodec_init();
 		avcodec_register_all();
-		avcodec_inited=1;
+		avcodec_initialized=1;
 	}
 
 	// Build mjpeg huffman code tables, setting up j->s->mjpeg_ctx
@@ -921,11 +921,11 @@
 
 	/* if libavcodec is already initialized, we must not initialize it
 	 * again, but if it is not initialized then we mustinitialize it now. */
-	if (!avcodec_inited) {
+	if (!avcodec_initialized) {
 		/* we need to initialize libavcodec */
 		avcodec_init();
 		avcodec_register_all();
-		avcodec_inited=1;
+		avcodec_initialized=1;
 	}
 
 	if (args) {