comparison libmpdemux/muxer_mpeg.c @ 14779:5c82935cb6f0

replace bzero() with memset()
author nicodvb
date Wed, 23 Feb 2005 07:30:37 +0000
parents 70f0de24b30a
children 090be6ae25ac
comparison
equal deleted inserted replaced
14778:b9d8a850cf2d 14779:5c82935cb6f0
378 s->h.fccType=streamtypeVIDEO; 378 s->h.fccType=streamtypeVIDEO;
379 if(!muxer->def_v) muxer->def_v=s; 379 if(!muxer->def_v) muxer->def_v=s;
380 spriv->framebuf_cnt = 30; 380 spriv->framebuf_cnt = 30;
381 spriv->framebuf_used = 0; 381 spriv->framebuf_used = 0;
382 spriv->framebuf = init_frames(spriv->framebuf_cnt, (size_t) 5000); 382 spriv->framebuf = init_frames(spriv->framebuf_cnt, (size_t) 5000);
383 bzero(&(spriv->picture), sizeof(spriv->picture)); 383 memset(&(spriv->picture), 0, sizeof(spriv->picture));
384 if(spriv->framebuf == NULL) { 384 if(spriv->framebuf == NULL) {
385 mp_msg(MSGT_MUXER, MSGL_FATAL, "Couldn't allocate initial frames structure, abort!\n"); 385 mp_msg(MSGT_MUXER, MSGL_FATAL, "Couldn't allocate initial frames structure, abort!\n");
386 return NULL; 386 return NULL;
387 } 387 }
388 if(priv->is_xvcd) 388 if(priv->is_xvcd)