diff libmpcodecs/vd_realvid.c @ 25962:afa125da85cf

typo fix: inited --> initialized
author diego
date Thu, 14 Feb 2008 14:23:55 +0000
parents 0cf6c33e4400
children 59db094d3494
line wrap: on
line diff
--- a/libmpcodecs/vd_realvid.c	Wed Feb 13 21:36:27 2008 +0000
+++ b/libmpcodecs/vd_realvid.c	Thu Feb 14 14:23:55 2008 +0000
@@ -58,7 +58,7 @@
 #endif
 
 static void *rv_handle=NULL;
-static int inited=0;
+static int initialized=0;
 static uint8_t *buffer = NULL;
 static int bufsz = 0;
 #ifdef USE_WIN32DLL
@@ -341,7 +341,7 @@
 	if(rv_handle) dlclose(rv_handle);
 #endif
 	rv_handle=NULL;
-	inited = 0;
+	initialized = 0;
 	if (buffer)
 	    free(buffer);
 	buffer = NULL;
@@ -392,12 +392,12 @@
 	result=(*rvyuv_transform)(dp_data, buffer, &transform_in,
 		transform_out, sh->context);
 
-	if(!inited){  // rv30 width/height now known
+	if(!initialized){  // rv30 width/height now known
 	    sh->aspect=(float)sh->disp_w/(float)sh->disp_h;
 	    sh->disp_w=transform_out[3];
 	    sh->disp_h=transform_out[4];
 	    if (!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_I420)) return 0;
-	    inited=1;
+	    initialized=1;
 	} 
 	    mpi=mpcodecs_get_image(sh, MP_IMGTYPE_EXPORT, 0 /*MP_IMGFLAG_ACCEPT_STRIDE*/,
 		    sh->disp_w, sh->disp_h);
@@ -411,7 +411,7 @@
 
 	if(transform_out[0] &&
 	   (sh->disp_w != transform_out[3] || sh->disp_h != transform_out[4]))
-	    inited = 0;
+	    initialized = 0;
 	
 	return (result?NULL:mpi);
 }