[FFmpeg-devel] wmalosslessdec.c triggers brp errors again
Michael Niedermayer
michaelni at gmx.at
Thu Dec 8 18:48:04 CET 2011
On Thu, Dec 08, 2011 at 08:56:13AM -0800, Mashiat Sarker Shakkhar wrote:
> > 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.
merged, thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111208/c671c8e2/attachment.asc>
More information about the ffmpeg-devel
mailing list