1
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 21:07:29 +01:00

Fix memset() usage, patch by Ismail Donmez

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15027 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rathann 2005-03-31 22:06:34 +00:00
parent f9d542d167
commit 8406e93764

View File

@ -1066,7 +1066,7 @@ static overlay_t *overlay_init(int dev)
if(!o)
return NULL;
memset(o,sizeof(overlay_t),0);
memset(o,0,sizeof(overlay_t));
o->dev = dev;
o->xres = 1280; o->yres=1024; o->xcorr=1000;