mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[mpp_buffer]: add buffer check on buffer size
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@349 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -110,7 +110,7 @@ int main()
|
||||
|
||||
count = MPP_BUFFER_TEST_NORMAL_COUNT;
|
||||
|
||||
mpp_buffer_group_limit_config(group, size, count);
|
||||
mpp_buffer_group_limit_config(group, 0, count);
|
||||
|
||||
for (i = 0; i < count; i++) {
|
||||
ret = mpp_buffer_get(group, &normal_buffer[i], (i + 1) * SZ_1K);
|
||||
|
Reference in New Issue
Block a user