Пример #1
0
static int vp31_xImageDestroy(VP31_XIMAGE_HANDLE xThis)
{
	if (xThis)
	{
        StopDecoder(&(xThis->myPBI));
		duck_free(xThis);
	}

	return DXL_OK;
}
Пример #2
0
int
vp8_yv12_de_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf)
{
    if (ybf)
    {
            duck_free(ybf->buffer_alloc);

        ybf->buffer_alloc = 0;
    }
    else
    {
        return -1;
    }

    return 0;
}