mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-12 12:30:04 +08:00
[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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user