mirror of
https://github.com/videolan/vlc.git
synced 2024-11-28 20:34:12 +08:00
beos/VideoOutput.cpp: fixed a crash in window destruction
This commit is contained in:
parent
5aa1094833
commit
b78f248291
@ -762,7 +762,7 @@ VideoWindow::_AllocateBuffers(int width, int height, int* mode)
|
|||||||
{
|
{
|
||||||
msg_Dbg( p_vout, "using single-buffered overlay" );
|
msg_Dbg( p_vout, "using single-buffered overlay" );
|
||||||
bitmap_count = 2;
|
bitmap_count = 2;
|
||||||
if( bitmap[2] ) delete bitmap[2];
|
if( bitmap[2] ) { delete bitmap[2]; bitmap[2] = NULL; }
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user