[FFmpeg-devel] wmalosslessdec.c triggers brp errors again
Mashiat Sarker Shakkhar
shahriman_ams at yahoo.com
Thu Dec 8 17:56:13 CET 2011
> From: Dominique Leuenberger <dominique at leuenberger.net>
> To: ffmpeg-devel at ffmpeg.org
> Cc:
> Sent: Thursday, December 8, 2011 8:28 PM
> Subject: [FFmpeg-devel] wmalosslessdec.c triggers brp errors again
>
> Hi there,
>
> wmalosslessdec.c manages to trigger brp errors again
>
> libavcodec/wmalosslessdec.c: In function 'mclms_update':
> libavcodec/wmalosslessdec.c:839:16: warning: passing argument 1 of
> 'memcpy' makes pointer from integer without a cast [enabled by default]
> libavcodec/wmalosslessdec.c:842:16: warning: passing argument 1 of
> 'memcpy' makes pointer from integer without a cast [enabled by default]
>
> E: ffmpeg 64bit-portability-issue libavcodec/wmalosslessdec.c:839, 842
>
> The code block in question is:
> memcpy(s->mclms_prevvalues[order * num_channels],
> s->mclms_prevvalues,
> bps * order * num_channels);
> memcpy(s->mclms_updates[order * num_channels],
> s->mclms_updates,
> bps * order * num_channels);
>
A case of missing ampersand it seems, fixed on my personal tree.
But that code is not tested and not ready for anything yet.
> Dominique
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> ----- Original Message -----
More information about the ffmpeg-devel
mailing list