[FFmpeg-cvslog] r15595 - trunk/libavcodec/aac_parser.c

Måns Rullgård mans
Tue Dec 2 01:05:43 CET 2008


Michael Niedermayer <michaelni at gmx.at> writes:

> On Sat, Oct 11, 2008 at 01:21:45PM +0200, mru wrote:
>> Author: mru
>> Date: Sat Oct 11 13:21:45 2008
>> New Revision: 15595
>> 
>> Log:
>> aac_parser: fix strict aliasing violation
>
> This change is insufficient, the code still is not working without
> -fno-strict-aliasing
>
> gcc-4.3
>         .loc 1 37 0
>         movl    %eax, -12(%ebp)
> -       movl    %edx, -16(%ebp)
>         .loc 62 42 0
>         movl    -15(%ebp), %eax
>
> gcc-4.4
>         .loc 1 37 0
> -       movl    %edx, -16(%ebp)
>         movl    %eax, -12(%ebp)
>         .loc 62 42 0
>         movl    -15(%ebp), %eax

Damn.  It worked with all compilers I had installed at the time.  Can
you think of a solution?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list