Esempio n. 1
0
qtCanvas::Impl::~Impl()
{
	finishCompression();
	finishTrack();
	finishMovie();
	
	if (mPath) CFRelease(mPath);
	
	finishImage();
	finishSCComponent();
}
Esempio n. 2
0
JpegImageInput::~JpegImageInput()
{
    finishImage();

    rw_source_IOChannel* src =
        reinterpret_cast<rw_source_IOChannel*>(m_cinfo.src);

    delete src;
    m_cinfo.src = NULL;

    jpeg_destroy_decompress(&m_cinfo);
}