changeset 14401:ddf3ac9a7539

fixed-vo/libmpeg2 aspect change fix
author faust3
date Thu, 06 Jan 2005 16:24:58 +0000
parents 50d99489dfe5
children 53a70339c70c
files libvo/vo_directx.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_directx.c	Thu Jan 06 15:58:37 2005 +0000
+++ b/libvo/vo_directx.c	Thu Jan 06 16:24:58 2005 +0000
@@ -1273,6 +1273,8 @@
     
     
     if(vidmode)vo_fs=0;    
+	if (g_cc != NULL)g_cc->lpVtbl->Release(g_cc);
+	g_cc=NULL;
 	/*release all surfaces*/
 	if (g_lpddsBack != NULL) g_lpddsBack->lpVtbl->Release(g_lpddsBack);
 	g_lpddsBack = NULL;