[FFmpeg-devel] wmalosslessdec.c triggers brp errors again

Dominique Leuenberger dominique at leuenberger.net
Thu Dec 8 15:28:09 CET 2011


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);

Dominique



More information about the ffmpeg-devel mailing list