Commit 84a658316de5fb0f1af98c088ed04b07f56707b5
1 parent
efd35d36
修复VpcUtils释放时会出现崩溃的问题
Showing
1 changed file
with
3 additions
and
3 deletions
src/decoder/dvpp/VpcUtils.h
@@ -15,9 +15,9 @@ public: | @@ -15,9 +15,9 @@ public: | ||
15 | DvppDataMemory* resize(acldvppPicDesc *inputDesc_, int out_width, int out_height); | 15 | DvppDataMemory* resize(acldvppPicDesc *inputDesc_, int out_width, int out_height); |
16 | 16 | ||
17 | private: | 17 | private: |
18 | - aclrtContext context_; | ||
19 | - aclrtStream stream_; | 18 | + aclrtContext context_{nullptr}; |
19 | + aclrtStream stream_{nullptr}; | ||
20 | int m_devId; | 20 | int m_devId; |
21 | - acldvppChannelDesc *dvppChannelDesc_ ; | 21 | + acldvppChannelDesc *dvppChannelDesc_ {nullptr}; |
22 | string m_dec_name; | 22 | string m_dec_name; |
23 | }; | 23 | }; |
24 | \ No newline at end of file | 24 | \ No newline at end of file |