mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix utest build warnings
This commit is contained in:
parent
57604a9c65
commit
f3d708c2b5
6 changed files with 39 additions and 39 deletions
|
@ -4823,7 +4823,7 @@ VOID TEST(KernelMP4Test, CoverMP4CodecSingleFrame)
|
|||
HELPER_EXPECT_SUCCESS(enc.write_sample(
|
||||
&fmt, SrsMp4HandlerTypeVIDE, fmt.video->frame_type, fmt.video->avc_packet_type, 0, 0, (uint8_t*)fmt.raw, fmt.nb_raw
|
||||
));
|
||||
EXPECT_EQ(768, enc.width); EXPECT_EQ(320, enc.height);
|
||||
EXPECT_EQ(768, (int)enc.width); EXPECT_EQ(320, (int)enc.height);
|
||||
}
|
||||
|
||||
if (true) {
|
||||
|
@ -4936,7 +4936,7 @@ VOID TEST(KernelMP4Test, CoverMP4MultipleVideos)
|
|||
HELPER_EXPECT_SUCCESS(enc.write_sample(
|
||||
&fmt, SrsMp4HandlerTypeVIDE, fmt.video->frame_type, fmt.video->avc_packet_type, 0, 0, (uint8_t*)fmt.raw, fmt.nb_raw
|
||||
));
|
||||
EXPECT_EQ(768, enc.width); EXPECT_EQ(320, enc.height);
|
||||
EXPECT_EQ(768, (int)enc.width); EXPECT_EQ(320, (int)enc.height);
|
||||
}
|
||||
|
||||
if (true) {
|
||||
|
@ -5024,7 +5024,7 @@ VOID TEST(KernelMP4Test, CoverMP4MultipleCTTs)
|
|||
HELPER_EXPECT_SUCCESS(enc.write_sample(
|
||||
&fmt, SrsMp4HandlerTypeVIDE, fmt.video->frame_type, fmt.video->avc_packet_type, 0, 0, (uint8_t*)fmt.raw, fmt.nb_raw
|
||||
));
|
||||
EXPECT_EQ(768, enc.width); EXPECT_EQ(320, enc.height);
|
||||
EXPECT_EQ(768, (int)enc.width); EXPECT_EQ(320, (int)enc.height);
|
||||
}
|
||||
|
||||
if (true) {
|
||||
|
@ -5126,7 +5126,7 @@ VOID TEST(KernelMP4Test, CoverMP4MultipleAVs)
|
|||
HELPER_EXPECT_SUCCESS(enc.write_sample(
|
||||
&fmt, SrsMp4HandlerTypeVIDE, fmt.video->frame_type, fmt.video->avc_packet_type, 0, 0, (uint8_t*)fmt.raw, fmt.nb_raw
|
||||
));
|
||||
EXPECT_EQ(768, enc.width); EXPECT_EQ(320, enc.height);
|
||||
EXPECT_EQ(768, (int)enc.width); EXPECT_EQ(320, (int)enc.height);
|
||||
}
|
||||
|
||||
if (true) {
|
||||
|
@ -5240,7 +5240,7 @@ VOID TEST(KernelMP4Test, CoverMP4CodecErrorNoFrames)
|
|||
HELPER_EXPECT_SUCCESS(enc.write_sample(
|
||||
&fmt, SrsMp4HandlerTypeVIDE, fmt.video->frame_type, fmt.video->avc_packet_type, 0, 0, (uint8_t*)fmt.raw, fmt.nb_raw
|
||||
));
|
||||
EXPECT_EQ(768, enc.width); EXPECT_EQ(320, enc.height);
|
||||
EXPECT_EQ(768, (int)enc.width); EXPECT_EQ(320, (int)enc.height);
|
||||
}
|
||||
|
||||
if (true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue