[osal]: add clear operation to mpp_free

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@210 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2008-01-29 23:29:40 +00:00
parent b56729adb9
commit 70090757a3
9 changed files with 17 additions and 25 deletions

View File

@@ -154,8 +154,7 @@ void Mpp::clear()
mpp_buffer_group_put(mFrameGroup);
mFrameGroup = NULL;
}
if (mTask)
mpp_free(mTask);
mpp_free(mTask);
}
MPP_RET Mpp::put_packet(MppPacket packet)