- ani_func->reserved1 = NULL;
- ani_func->reserved2 = NULL;
- ani_func->reserved3 = NULL;
- ani_func->reserved4 = NULL;
- ani_func->reserved5 = NULL;
- ani_func->reserved6 = NULL;
- ani_func->reserved7 = NULL;
- ani_func->reserved8 = NULL;
- ani_func->reserved9 = NULL;
- ani_func->reserved10 = NULL;
-
- /* backend's animation specific info */
- ani_info = (default_ani_info *)calloc(1, sizeof(default_ani_info));
-
- if (!ani_info)
- {
- pui_err("Failed to allocate memory ! (backend's ani specific info)\n");
- goto err;
- }
-
- /* fill animation info associate with the given id from animation collection */
- e = get_ani_info_from_ani_collection(ani_info, id);
+ /* get animation info associate with the given id from animation collection */
+ ani_info = get_ani_info_from_ani_collection(id);