[linux-dvb] MPE decapsulation and crc32

Harnois Anne-Sophie anne-sophie.harnois at thomson.net
Mon Nov 27 11:19:28 CET 2006

Hello everybody

Context is MPE decapsulation.

In dvb_demux file demux->check_crc32 is called and this function
calculates crc32 via crc32_be function and stored it in sec->crc_val. 

CRC is computed on MPE frame including MPE header data and MPE CRC
itself, isn't it? Why is MPE CRC included in this CRC calculation?

And once CRC is calculated, it is stored in sec->crc_val but this result
seems to be never used, doesn't it? Should'nt be the calculated CRC
compared to another to check if CRC was correct or not? 

Am I missing something?
Thank you very much for your help.

More information about the linux-dvb mailing list