[Ffmpeg-cvslog] r6732 - in trunk/libavcodec: cabac.h h264.c

Rich Felker dalias
Mon Nov 27 08:33:33 CET 2006


On Thu, Oct 19, 2006 at 03:19:04AM +0200, michael wrote:
> Modified: trunk/libavcodec/cabac.h
> ==============================================================================
> --- trunk/libavcodec/cabac.h	(original)
> +++ trunk/libavcodec/cabac.h	Thu Oct 19 03:19:03 2006
> @@ -575,6 +575,36 @@
>  }
[...]
> +
> +static always_inline int get_cabac_bypass_sign(CABACContext *c, int val){
> +#ifdef ARCH_X86
> +    int bit;
> +    asm volatile(
[...]
> +        "movl %%eax, "LOW      "(%1)            \n\t"
> +
> +        :"+c"(val)
> +        :"r"(c)
> +        : "%eax", "%ebx", "%edx", "memory"

Don't know how this broken code survived so long but there's no way it
could possibly work when compiling with PIC. I just got a report on
#ffmpeg from a user running into trouble here...

Rich





More information about the ffmpeg-cvslog mailing list