demux_ts: cleanup
commitb4c2cd422ee0b68dca1902c18c3c04f94603333f
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 11 Dec 2010 22:22:54 +0000 (11 22:22 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 16 Dec 2010 04:22:19 +0000 (16 06:22 +0200)
tree25e5c31914c66f051bbe8a3362c40e3422530d89
parent68c262c6c4c0addae61e78403d75f445b19f2e6a
demux_ts: cleanup

Replace malloc+memset with calloc and use sizeof(*variable).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32694 b3059339-0415-0410-9bf9-f77b7e298cf2

Replace hard-coded number for loop limits for array index by
the define used in the array declaration.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32695 b3059339-0415-0410-9bf9-f77b7e298cf2
libmpdemux/demux_ts.c