The upper three bits are reserved and not guaranteed to be 0.

This commit is contained in:
Moritz Bunkus 2005-09-15 16:09:25 +00:00
parent feb1a3be54
commit dad4cb8b57

View File

@ -606,6 +606,7 @@ mpeg4_p10_extract_par(uint8_t *&buffer,
nalu.clear();
num_sps = avcc.read_uint8();
new_avcc.write_uint8(num_sps);
num_sps &= 0x1f;
mxverb(4, "mpeg4_p10_extract_par: num_sps %d\n", num_sps);
for (sps = 0; sps < num_sps; sps++) {