fixed-vo/libmpeg2 aspect change fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14402 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2005-01-06 16:24:58 +00:00
parent 27c3aa54b9
commit bc3924c085
1 changed files with 2 additions and 0 deletions

View File

@ -1273,6 +1273,8 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
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;