mirror of
https://github.com/mpv-player/mpv
synced 2025-02-02 21:21:33 +00:00
replace bzero() with memset()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14780 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4ca402d1b2
commit
b9377319a6
@ -380,7 +380,7 @@ static muxer_stream_t* mpegfile_new_stream(muxer_t *muxer,int type){
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user