[FFmpeg-cvslog] r10233 - trunk/configure

Reimar Döffinger Reimar.Doeffinger
Mon Aug 27 10:08:13 CEST 2007


Hello,
On Mon, Aug 27, 2007 at 09:59:04AM +0200, Guillaume POIRIER wrote:
> diff --git a/configure b/configure
> index b4d720b..9e983dd 100755
> --- a/configure
> +++ b/configure
> @@ -1506,7 +1506,7 @@ EOF
>  # ---
>  # big/little-endian test
>  check_cc <<EOF || die "endian test failed"
> -unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
> +unsigned long long endian = 'B' << 32 | 'I' << 24 | 'G' << 16 | 'E' << 8;

I was thinking more of
unsigned long long endian = 'B' << 48 | 'I' << 40 | 'G' << 32 |
                            'E' << 24 | 'N' << 16 | 'D' << 8;
>  EOF
>  strings -a $TMPO | grep -q BIGE && enable bigendian

And of course grep -q BIGEND

Greetings,
Reimar D?ffinger




More information about the ffmpeg-cvslog mailing list