[FFmpeg-devel] [PATCH] do not memset for a size of 0

Alex Converse alex.converse
Fri Oct 23 20:55:03 CEST 2009


On Mon, Oct 12, 2009 at 1:23 PM, Benoit Fouet <benoit.fouet at free.fr> wrote:
>
> Alex Converse wrote :
> > On Mon, Oct 12, 2009 at 11:20 AM, Benoit Fouet <benoit.fouet at free.fr> wrote:
> >
> >> Hi,
> >>
> >> the following patch fixes the linker warning:
> >> /home/hack/ffmpeg/ffmpeg_x86/libavcodec/libavcodec.a(pcx.o): In function
> >> `memset':
> >>
> >>
> >> /usr/include/bits/string3.h:82: warning: memset used with constant zero
> >> length parameter; this could be due to transposed parameters
> >>
> >>
> >
> > Cough cough: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-October/076673.html
> >
>
> hadn't seen it, sorry.
> I like your patch, though :)
>

Ping PCX maintainer?



More information about the ffmpeg-devel mailing list