[FFmpeg-devel] [PATCH] fix a 'warning' in libavformat/rmdec.c

Dominique Leuenberger dominique-ffmpeg-devel
Wed Jan 7 23:38:43 CET 2009


Hi,

I'm regularly building RPMs for openSUSE and my build host has an
automatic 'code auditing' included.

For ffmpeg it raised an error (compiler gives warning, auditor gives
error) as follows:

The compiler says:
libavformat/rmdec.c: In function 'rm_assemble_video_frame':
libavformat/rmdec.c:550: warning: assignment makes pointer from integer
without a cast

And the code audit says:
E: ffmpeg 64bit-portability-issue libavformat/rmdec.c:550

The 'error' from the auditor might not in all cases be accurate, but
fixing the warning should nevertheless be done in my opinion.

Please find attached a patch that solves this (hopefully in an
acceptable way for you).

Best regards,
Dominique
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmdec.diff
Type: text/x-patch
Size: 680 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090107/8ee1a1d1/attachment.bin>



More information about the ffmpeg-devel mailing list