[Ffmpeg-devel] Re: [PATCH] portability fixes (ILP32 vs LP64)
Måns Rullgård
mru
Wed Jan 25 02:41:07 CET 2006
Dieter <freebsd at sopwith.solgatos.com> writes:
>>> Here are fixes for some of the compiler warnings I got
>>> building the cvs version of ffmpeg on FreeBSD 6.0.
>>> They should help with portability between ILP32 and LP64.
>
>> Send a unified diff (diff -u), not a context diff.
>
> Here they are with only -u rather than -u -c.
>
> Diffs for file: libavcodec/i386/h264dsp_mmx.c
>
> ===================================================================
> RCS file: RCS/h264dsp_mmx.c,v
> retrieving revision 1.1
> diff -u -r1.1 h264dsp_mmx.c
> --- h264dsp_mmx.c 2006/01/18 01:15:54 1.1
> +++ h264dsp_mmx.c 2006/01/18 17:06:06
> @@ -65,6 +65,11 @@
> "packuswb "#z", "#p" \n\t"\
> "movd "#p", (%0) \n\t"
>
> +
> +/* prototypes */
> +void ff_h264_idct_add_mmx2(uint8_t *, int16_t *, int);
> +
> +
> void ff_h264_idct_add_mmx2(uint8_t *dst, int16_t *block, int stride)
Adding a prototype immediately before the function definition
accomplishes nothing. Why are you doing this?
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list