1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 19:31:53 +00:00

Cover FLV decoder

This commit is contained in:
winlin 2019-05-21 08:51:58 +08:00
parent 8311f0dc5a
commit 32b53de46d

View file

@ -924,14 +924,14 @@ VOID TEST(KernelFLVTest, CoverVodStreamErrorCase)
}
if (true) {
MockSrsFileReader r;
MockSrsFileReader r("HELLO", 5);
HELPER_EXPECT_SUCCESS(r.open(""));
r.seekable = false;
SrsFlvVodStreamDecoder d;
HELPER_EXPECT_SUCCESS(d.initialize(&r));
HELPER_EXPECT_FAILED(d.seek2(0));
HELPER_EXPECT_FAILED(d.seek2(1));
}
}