Option -softcrc gives false CRC on 64bit platforms
Bug #510054 reported by
mkuutti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dvbsnoop |
Unknown
|
Unknown
|
|||
dvbsnoop (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: dvbsnoop
dvbsnoop -softcrc calculates CRC wrong on 64bit linux (and propably others). This is because u_long is used in src/misc/crc32.[ch] and assumed it to be 32bit. Solution might be use of uint32_t from stdint.h. Dvbsnoop package version 1.4.50-2.
I reported bug to sourceforge's dvbsnoop page and added also patch:
http://
Patch was tested in Ubuntu 9.10 x86_64 and Ubuntu 9.04 i686
Attaching file 'pat.sec' from Finnish DVB-T network for reference:
dvbsnoop -softcrc -if pat.sec // fails under 64bit
To post a comment you must log in.
Confirmed, that file indeeds fails CRC check on amd64, and the patch attached to the mentioned bug upstream does fix the issue.