summaryrefslogtreecommitdiff
path: root/test/src/gtest_common.cpp
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-06-29 18:23:07 +0800
committerliuxueli <[email protected]>2023-06-29 18:52:12 +0800
commit060407d1cb6d348e6169db647a549ca51224c82c (patch)
tree8fa413bcff52c7201df6e6c63378803160054e4d /test/src/gtest_common.cpp
parent3a8041198fcbcbecc4cce524dbcd4f9664e027d5 (diff)
OMPUB-952: 根据流信息获取当前包头部,避免访问空指针v6.0.28
Diffstat (limited to 'test/src/gtest_common.cpp')
-rw-r--r--test/src/gtest_common.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/src/gtest_common.cpp b/test/src/gtest_common.cpp
index 4c36ade..e2ff953 100644
--- a/test/src/gtest_common.cpp
+++ b/test/src/gtest_common.cpp
@@ -120,6 +120,11 @@ int MESA_get_stream_opt(const struct streaminfo * pstream, enum MESA_stream_opt
return 0;
}
+const void *get_this_layer_header(const struct streaminfo * pstream)
+{
+ return NULL;
+}
+
const void *get_rawpkt_from_streaminfo(const struct streaminfo *pstream)
{
return (void*)1;