summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author杨威 <[email protected]>2023-01-12 11:24:59 +0800
committer杨威 <[email protected]>2023-01-16 14:42:18 +0800
commitf644218f2a285f2acf9f53b728616d9ee23a2fef (patch)
tree935e145a7cdf9d5ae61e1622676285aa9fdb5164 /test
parent39d375589e4267f0aaab9d3fd97734147ff6901b (diff)
🐞 fix(MSO_STREAM_TIMED): 重命名opt,修复重复计数错误
Diffstat (limited to 'test')
-rw-r--r--test/test_app_sapp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_app_sapp.c b/test/test_app_sapp.c
index 7b6e35a..7eecd3a 100644
--- a/test/test_app_sapp.c
+++ b/test/test_app_sapp.c
@@ -504,7 +504,7 @@ char test_set_stream_timed(struct streaminfo *pstream, void **pme, int thread_s
if (pstream->pktstate == OP_STATE_PENDING)
{
tout_val = 1;
- ret = MESA_set_stream_opt(pstream, MSO_STREAM_TIMER, &tout_val, sizeof(int));
+ ret = MESA_set_stream_opt(pstream, MSO_STREAM_TIMED, &tout_val, sizeof(int));
if (ret < 0)
{
DPRINT("stream:%p, MESA_set_stream_opt error:\n", pstream);