[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: [xine-devel] Re: searching for xine testers



Would it not be a good idea to use: -
#include <stdint.h>

and then use uint8_t, uint16_t etc. in one's code.

I think that would make code more portable.
There are lots of other things to consider, but stdint.h would fix the
problem below.

Cheers
James





> -----Original Message-----
> From: xine-devel-admin@lists.sourceforge.net
> [mailto:xine-devel-admin@lists.sourceforge.net]On Behalf Of Adam C
> Powell IV
> Sent: 28 August 2001 22:05
> To: debian-powerpc@lists.debian.org
> Cc: xine development list
> Subject: [xine-devel] Re: searching for xine testers
>
>
> Michel Dänzer wrote:
>
> >Siggi Langauf wrote:
> >
> >>On Tue, 28 Aug 2001, Michel Dänzer wrote:
> >>
> >>>Siggi Langauf wrote:
> >>>
> >>>Also, I was excited at first to see that it has an ffmpeg plugin, but I
> >>>couldn't play MJPEG nor DivX files, is that to be expected?
> >>>
> >>This is expected to work, but I think ffmpeg still has some problems on
> >>big endian machines. Any volunteers are welcome ;-)
> >>
> >
> >The strange thing is that it said it couldn't find a decoder for
> both file
> >types, even though it showed the correct ID (verified with
> xanim, which plays
> >the MJPEG files). Endianness bug with the type detection?
> >
> Remember, endianness is not the only difference.  PPC also assumes
> unsigned char (ARM too).  That has caused headaches in other programs
> before which were endian-clean, e.g. gnome-pim and gnucash, and from the
> number of warnings during my last E 0.16.x build of the type "Warning:
> branch never reached due to limited range of data type," I'm surprised
> there have been no big bugs there.  (Though with gnucash, we thought it
> was not char-safe, so the maintainer was passing -funsigned-char, but it
> was, so there was a conflict with the C libraries... that one was tough
> to find!)
>
> Zeen,
> --
>
> -Adam P.
>
> GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6
>
> Welcome to the best software in the world today cafe!
> <http://lyre.mit.edu/%7Epowell/The_Best_Stuff_In_The_World_Today_Cafe.ogg>
>
>
>
>
> _______________________________________________
> xine-devel mailing list
> xine-devel@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/xine-devel



Reply to: