Minor changes in the FilterFrame module (example)
This commit is contained in:
1 parent
8f50a6d1b9
commit
2a2df2049a
1 file changed
+1
-4
@@ -39,14 +39,11 @@ PlaYUVerModuleDefinition FilterFrameDef = {
|
||||
FilterFrame::FilterFrame()
|
||||
{
|
||||
m_cModuleDef = FilterFrameDef;
|
||||
|
||||
m_pcFilteredFrame = NULL;
|
||||
}
|
||||
|
||||
Void FilterFrame::create( PlaYUVerFrame* InputFrame )
|
||||
{
|
||||
if( m_pcFilteredFrame )
|
||||
delete m_pcFilteredFrame;
|
||||
m_pcFilteredFrame = NULL;
|
||||
m_pcFilteredFrame = new PlaYUVerFrame( InputFrame->getWidth(), InputFrame->getHeight(), InputFrame->getPelFormat() );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user