Mercurial > mplayer.hg
changeset 14779:5c82935cb6f0
replace bzero() with memset()
author | nicodvb |
---|---|
date | Wed, 23 Feb 2005 07:30:37 +0000 |
parents | b9d8a850cf2d |
children | ebe6ca6e687c |
files | libmpdemux/muxer_mpeg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c Wed Feb 23 01:55:39 2005 +0000 +++ b/libmpdemux/muxer_mpeg.c Wed Feb 23 07:30:37 2005 +0000 @@ -380,7 +380,7 @@ spriv->framebuf_cnt = 30; spriv->framebuf_used = 0; spriv->framebuf = init_frames(spriv->framebuf_cnt, (size_t) 5000); - bzero(&(spriv->picture), sizeof(spriv->picture)); + memset(&(spriv->picture), 0, sizeof(spriv->picture)); if(spriv->framebuf == NULL) { mp_msg(MSGT_MUXER, MSGL_FATAL, "Couldn't allocate initial frames structure, abort!\n"); return NULL;