diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-28 19:21:34 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-28 19:21:34 +0000 |
commit | bbf6e2d0a93200092f9ffefc51fd19e80c5b2fe7 (patch) | |
tree | d259435a95b43ca19e11abd82cd6ff3918671c95 /libaf/af_center.c | |
parent | c9120b9892e6e69511064a97dd449e66d57b06e5 (diff) | |
download | mpv-bbf6e2d0a93200092f9ffefc51fd19e80c5b2fe7.tar.bz2 mpv-bbf6e2d0a93200092f9ffefc51fd19e80c5b2fe7.tar.xz |
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
Diffstat (limited to 'libaf/af_center.c')
0 files changed, 0 insertions, 0 deletions