commit | 83e340b681a95ea7396e4548741d7fbdc1fff50a | [log] [tgz] |
---|---|---|
author | qctecmdr <qctecmdr@localhost> | Sat Sep 14 16:36:15 2019 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sat Sep 14 16:36:15 2019 -0700 |
tree | 78a5d96e6081a2d1dc24abdc9f01025ec7af0621 | |
parent | d486cabe52a9878f2b9789df59c9e714bdb8a177 [diff] | |
parent | 06a7dbdd9611dbdc40c9548b33ce52bbf07047f1 [diff] |
Merge "mm-video: vdec: avoid closing same fd twice"
diff --git a/mm-video-v4l2/vidc/vdec/src/omx_swvdec.cpp b/mm-video-v4l2/vidc/vdec/src/omx_swvdec.cpp index 6707653..b013a8a 100644 --- a/mm-video-v4l2/vidc/vdec/src/omx_swvdec.cpp +++ b/mm-video-v4l2/vidc/vdec/src/omx_swvdec.cpp
@@ -4795,7 +4795,6 @@ (unsigned int)p_ion_buf_info->alloc_data.heap_id_mask); if (p_ion_buf_info->data_fd >= 0) { - close(p_ion_buf_info->data_fd); p_ion_buf_info->data_fd = -1; }