[MPlayer-dev-eng] [PATCH] Wrong memset usage in vo_dxr3.c

Ismail Donmez ismail at kde.org.tr
Thu Mar 31 22:46:47 CEST 2005


On Thursday 31 March 2005 23:41, Dominik 'Rathann' Mierzejewski wrote:
> Hi,
>
> On Thursday, 31 March 2005 at 10:12, Ismail Donmez wrote:
> [...]
>
> > -    memset(o,sizeof(overlay_t),0);
> > +    memset(o,0,sizeof(overlay_t));
>
> Good catch. Would you care to review and check other memset occurances?
>

I did using grep -nr "memset.*\,\(\ \|\)0\(\ \|\));" * as suggested by Dave 
Jones @ http://www.livejournal.com/users/kernelslacker/4368.html . It only 
found one match :)

Regards,
ismail




More information about the MPlayer-dev-eng mailing list