diff --git a/trunk/src/utest/srs_utest_kernel2.cpp b/trunk/src/utest/srs_utest_kernel2.cpp index afaf045a00..5b9ed30893 100644 --- a/trunk/src/utest/srs_utest_kernel2.cpp +++ b/trunk/src/utest/srs_utest_kernel2.cpp @@ -738,3 +738,9 @@ VOID TEST(KernelCodecTest, VideoFormatRbspNormal) EXPECT_TRUE(srs_bytes_equals(rbsp.data(), expect.data(), nb_rbsp)); } } + +VOID TEST(KernelCodecTest, HEVCDuplicatedCode) +{ + EXPECT_NE(ERROR_HEVC_NALU_UEV, ERROR_STREAM_CASTER_HEVC_VPS); + EXPECT_NE(ERROR_HEVC_NALU_SEV, ERROR_STREAM_CASTER_HEVC_SPS); +}