Minor changes in the FilterFrame module (example)

This commit is contained in:
jfmcarreira committed 2014-03-23 18:01:38 +00:00
1 parent 8f50a6d1b9
commit 2a2df2049a
1 file changed
+1 -4
+1 -4
View File
@@ -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() );
}