mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #1304, Fix ST coroutine pull error. 3.0.47
This commit is contained in:
parent
23a2d8eefd
commit
f2b4bc7110
4 changed files with 21 additions and 9 deletions
|
@ -2095,13 +2095,13 @@ VOID TEST(KernelUtility, AdtsUtils)
|
|||
}
|
||||
|
||||
if (true) {
|
||||
char data[] = {0xFF, 0x00};
|
||||
uint8_t data[] = {0xFF, 0x00};
|
||||
SrsBuffer buf((char*)data, sizeof(data));
|
||||
EXPECT_TRUE(!srs_aac_startswith_adts(&buf));
|
||||
}
|
||||
|
||||
if (true) {
|
||||
char data[] = {0xFF, 0xF0};
|
||||
uint8_t data[] = {0xFF, 0xF0};
|
||||
SrsBuffer buf((char*)data, sizeof(data));
|
||||
EXPECT_TRUE(srs_aac_startswith_adts(&buf));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue