replace bzero() with memset()

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14780 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2005-02-23 07:30:37 +00:00
parent 4ca402d1b2
commit b9377319a6
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ static muxer_stream_t* mpegfile_new_stream(muxer_t *muxer,int type){
spriv->framebuf_cnt = 30; spriv->framebuf_cnt = 30;
spriv->framebuf_used = 0; spriv->framebuf_used = 0;
spriv->framebuf = init_frames(spriv->framebuf_cnt, (size_t) 5000); 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) { if(spriv->framebuf == NULL) {
mp_msg(MSGT_MUXER, MSGL_FATAL, "Couldn't allocate initial frames structure, abort!\n"); mp_msg(MSGT_MUXER, MSGL_FATAL, "Couldn't allocate initial frames structure, abort!\n");
return NULL; return NULL;