]> granicus.if.org Git - libass/commit
Initialize all structs to 0 before using them.
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 28 Mar 2009 19:21:34 +0000 (19:21 +0000)
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 28 Mar 2009 19:21:34 +0000 (19:21 +0000)
commit86509673b95b92add4d03d9aae57844b46b07877
treeeb2232d0d30fac1fcaf8f823a26a6c35e3b21510
parent9f712dcf64a837b61dac21c8fd13a9fb5e40e754
Initialize all structs to 0 before using them.
This is consistent with the remaining code (which uses e.g. calloc) and makes
it easier to extend the structs in the future.
As a side effect it fixes several valgrind errors in hashmap_hash/hashmap_key_compare
caused by padding in the structures, but it is not a correct fix for that issue.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29086 b3059339-0415-0410-9bf9-f77b7e298cf2
libass/ass_render.c