/*! ************************************************************************ * \brief * free 3D memory array * which was alocated with get_mem3Dint64() ************************************************************************ */ void free_mem3Dint64(int64 ***array3D, int frames) { int i; if (array3D) { for (i=0;i<frames;i++) { free_mem2Dint64(array3D[i]); } free (array3D); } else { error ("free_mem3Dint64: trying to free unused memory",100); } }
/*! ************************************************************************ * \brief * free 3D memory array * which was alocated with get_mem3Dint64() *----------------------------------------------------------------------- * Function Argument List Changed [Removing Global Variables] * Input parameters added are * - h264_decoder* dec_params * * <*****@*****.**> ************************************************************************ */ void free_mem3Dint64(int64 ***array3D, int frames) { int i; if (array3D) { for (i=0;i<frames;i++) { free_mem2Dint64(array3D[i]); } h264_free (array3D); } else { printf("free_mem3Dint64: trying to free unused memory"); exit(0); } }