Mercurial > mplayer.hg
diff libdvdcss/libdvdcss.c @ 29047:f4f2524c356b
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.
author | reimar |
---|---|
date | Sat, 28 Mar 2009 19:21:34 +0000 |
parents | 60bd1a7f3fc6 |
children | 9e9595c779cf |