Link Copied
--- audio-video-codecs\codec\h264_spl\include\umc_h264_parse_def.h
+++ audio-video-codecs\codec\h264_spl\include\umc_h264_parse_def.h
@@ -93,7 +93,7 @@
H264SequenceSetParse()
{
- memset(this, 0, sizeof(H264SequenceSetParse));
+ memset(this, 0, sizeof(*this) - sizeof(buffer));
}
};
@@ -112,7 +112,7 @@
H264PictureSetParse()
{
- memset(this, 0, sizeof(H264PictureSetParse));
+ memset(this, 0, sizeof(*this) - sizeof(buffer));
}
};
@@ -138,8 +138,7 @@
H264SliceHeaderParse()
{
- memset(this, 0, sizeof(H264SliceHeaderParse));
- is_valid = false;
+ memset(this, 0, sizeof(*this));
}
};
} // namespace UMC
There was [an] incomplete sps header at bitstream (incomplete VUi part of sps). A few bytes was absent. For example: lets, you have correct original bitstream with sps and VUI. Lets, size of SPS with VUI is 10 bytes. This corrupted stream contains only 7 bytes of sps with VUI. So, 3 bytes are lost
For more complete information about compiler optimizations, see our Optimization Notice.