[mpp_frame]: on frame copy only check the src

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@415 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-10-21 16:13:09 +00:00
parent 57b6b6a5b9
commit d9c3e10b9c

View File

@@ -104,7 +104,7 @@ MPP_RET mpp_frame_copy(MppFrame dst, MppFrame src)
return MPP_ERR_NULL_PTR;
}
check_mpp_frame_name((MppFrameImpl *)dst);
check_mpp_frame_name((MppFrameImpl *)src);
memcpy(dst, src, sizeof(MppFrameImpl));
return MPP_OK;
}