[FFmpeg-devel] Linking failure with --disable-optimizations

Diego Biurrun diego
Tue Apr 15 08:59:18 CEST 2008


On Mon, Apr 14, 2008 at 11:57:01PM -0400, Jeff Downs wrote:
> 
> ok, under fear of death, patch attached.

:)

> --- nofile000	1969-12-31 19:00:00.000000000 -0500
> +++ libavcodec/i386/h264_i386.h	2008-04-14 23:44:12.000000000 -0400
> @@ -0,0 +1,144 @@
> +
> +//FIXME use some macros to avoid duplicatin get_cabac (cannot be done yet as that would make optimization work hard)
> +#if defined(ARCH_X86) && defined(HAVE_7REGS) && defined(HAVE_EBX_AVAILABLE) && !defined(BROKEN_RELOCATIONS)
> +static int decode_significance_x86(CABACContext *c, int max_coeff, uint8_t *significant_coeff_ctx_base, int *index){

Maybe you can break all of these long lines while you're at it...

Diego




More information about the ffmpeg-devel mailing list