mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[osal/mpp_buffer]: remove MppBufferData and add MppBufferInfo for user interface, tested on window and linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@142 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
int main()
|
||||
{
|
||||
MPP_RET ret = MPP_OK;
|
||||
MppBufferCommit commit;
|
||||
MppBufferInfo commit;
|
||||
MppBufferGroup group = NULL;
|
||||
MppBuffer commit_buffer[MPP_BUFFER_TEST_COMMIT_COUNT];
|
||||
void *commit_ptr[MPP_BUFFER_TEST_COMMIT_COUNT];
|
||||
@@ -63,7 +63,7 @@ int main()
|
||||
goto MPP_BUFFER_failed;
|
||||
}
|
||||
|
||||
commit.data.ptr = commit_ptr[i];
|
||||
commit.ptr = commit_ptr[i];
|
||||
|
||||
ret = mpp_buffer_commit(group, &commit);
|
||||
if (MPP_OK != ret) {
|
||||
|
Reference in New Issue
Block a user