[FFmpeg-devel] [PATCH] Add ppc/fmtconvert_ppc.c to fix compilation for PPC without Altivec.
Diego Biurrun
diego
Fri Mar 4 20:30:07 CET 2011
On Fri, Mar 04, 2011 at 02:25:03PM -0500, Justin Ruggles wrote:
> --- /dev/null
> +++ b/libavcodec/ppc/fmtconvert_ppc.c
> @@ -0,0 +1,33 @@
> +
> +#include "libavutil/cpu.h"
> +#include "libavcodec/fmtconvert.h"
> +
> +extern void ff_fmt_convert_init_altivec(FmtConvertContext *c, AVCodecContext *avctx);
> +
> +void ff_fmt_convert_init_ppc(FmtConvertContext *c, AVCodecContext *avctx)
Please avoid the ugly forward declaration and properly declare
ff_fmt_convert_init_altivec in a header file instead.
Diego
More information about the ffmpeg-devel
mailing list