mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix mp4 url/urn bug.
This commit is contained in:
parent
adad90d316
commit
9cb2449175
4 changed files with 12 additions and 19 deletions
|
@ -388,9 +388,9 @@ VOID TEST(KernelMp4Test, UUIDBoxDecode)
|
|||
if (true) {
|
||||
uint8_t data[24];
|
||||
SrsBuffer b((char*)data, sizeof(data));
|
||||
b.write_4bytes(8); b.write_4bytes(SrsMp4BoxTypeUUID); b.skip(-24);
|
||||
b.write_4bytes(8); b.write_4bytes(SrsMp4BoxTypeUUID); b.skip(-8);
|
||||
SrsMp4Box box;
|
||||
HELPER_ASSERT_FAILED(box.decode(&b));
|
||||
HELPER_EXPECT_SUCCESS(box.decode(&b));
|
||||
}
|
||||
|
||||
if (true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue