Mercurial > mplayer.hg
view mp_msg-mencoder.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 | 94813c4807f3 |
children | 92b0eee57acb |