mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-09 19:10:15 +08:00
[mpp_meta]: fix possible error in mpp_meta and mpp_buffer
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1034 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -677,7 +677,7 @@ void MppBufferService::destroy_group(MppBufferGroupImpl *group)
|
||||
misc_ion_int = NULL;
|
||||
} else {
|
||||
/* if only legacy group left dump the legacy group */
|
||||
if (group_count == 1 && misc_ion_int->buffer_count) {
|
||||
if (group_count == 1 && misc_ion_int && misc_ion_int->buffer_count) {
|
||||
mpp_log("found legacy group has buffer remain, start dumping\n");
|
||||
mpp_buffer_group_dump(misc_ion_int);
|
||||
abort();
|
||||
|
Reference in New Issue
Block a user