mirror of
https://github.com/mpv-player/mpv
synced 2025-02-04 06:01:56 +00:00
Do not overwrite memory in the width%8 == 0 case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1714 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
76df9d5823
commit
f2aacd3b05
@ -148,7 +148,7 @@ int __base( char * in )
|
||||
else { tmp=tmp >> 1; buf[i]=0; }
|
||||
if ( b++ == 7 ) { defList->main.Mask.Image[c++]=tmp; tmp=0; b=0; }
|
||||
}
|
||||
defList->main.Mask.Image[c++]=tmp;
|
||||
if (b) defList->main.Mask.Image[c++]=tmp;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
dbprintf( 3,"[skin] mask: %dX%d\n",defList->main.Mask.Width,defList->main.Mask.Height );
|
||||
|
Loading…
Reference in New Issue
Block a user