# HG changeset patch # User faust3 # Date 1105028698 0 # Node ID ddf3ac9a7539b64b1d8c5717b45dce956dc0164f # Parent 50d99489dfe56c844752b1ee162adfad0c8d6fb4 fixed-vo/libmpeg2 aspect change fix diff -r 50d99489dfe5 -r ddf3ac9a7539 libvo/vo_directx.c --- 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;