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

Alex Converse alex.converse
Mon Oct 12 19:12:33 CEST 2009


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



More information about the ffmpeg-devel mailing list