dr_81: initialize p_decoded with 0's

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
dr_81: revert previous patch, use calloc instead

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
descriptors/dr_40.c: Remove unnecessary checks.
descriptors/dr_47.c: Remove unnecessary checks.
descriptors/dr_42.c: Remove unnecessary checks.
descriptors/dr_45.c: Remove unnecessary checks.
src/descriptors/dr_45.h: mark DVBPSI_VBIDATA_LINE_DR_MAX deprecated
dvbinfo: build for Windows 32 platforms

- syslog.h is not available on Windows platforms.
- O_NONBLOCK is not defined for Windows platforms.
examples/get_pcr_pid.c: allow building for Windows 32 platforms.
check_cc_pid: Check continuity counter for only 1 PID.
dr_76.c: Fix (CID 17267) out-of-bounds write.
examples/get_pcr_pid.c: Fix out-of-bounds write (CID: 17266)

The value of i_nb_programs could exceed the MAX_PROGRAMS limit and thus
produce a buffer overrun.
dvbinfo: Fix resource leak (CID: 17270)

The error path for dvbpsi_pmt_attach() in handle_PAT failed to release
allocated resources.
dvbinfo: Fix resource leak (CID: 17271)

The error path for dvbpsi_AttachDemux() in handle_atsc_MGT failed to release
allocated resources.
examples/dvbinfo/tcp.c: Resource leak (CID 17269)

The code does not leak a socket descriptor while looping over addrinfo pointer structs.However initializing s_ctl to -1 again after calling close(s_ctl) is good practise.
examples/dvbinfo/udp.c: Resource leak (CID 17268)

The code does not leak a socket descriptor while looping over addrinfo pointer structs.However initializing s_ctl to -1 again after calling close(s_ctl) is good practise.
src/dvbpsi.c: Dereference before null check (CID: 17272)

The assert() dereferenced the p_dvbpsi pointer before it was checked for null-value.
descriptors/dr_50.c: Dereference null pointer (CID 17264)

The bug occurs due to a missing check for allocation failure of p_decoded->i_text.
Instead p_decoded is checked again.
tables/sis.c: Dereference null pointer (CID 17263)

The wrong pointer was checked for having a null value leading to the
null pointer dereference bug.
tables/tot.c: Dereference a null pointer (CID 17262)

The pointer to p_subdec should have been evaluated on line 119.