[FFmpeg-devel] [PATCH] replace inttypes.h with stdint.h
Thu Mar 13 19:19:10 CET 2008
On Thu, Mar 13, 2008 at 09:02:59AM +0000, M?ns Rullg?rd wrote:
> Diego Biurrun <diego at biurrun.de> writes:
> > This replaces one usage of #include <inttypes.h> with the slightly more
> > portable #include <stdint.h> in a libavutil header. It is what all the
> > other headers use.
> > --- libavutil/rc4.h (revision 12430)
> > +++ libavutil/rc4.h (working copy)
> > @@ -21,7 +21,7 @@
> > #ifndef FFMPEG_RC4_H
> > #define FFMPEG_RC4_H
> > -#include <inttypes.h>
> > +#include <stdint.h>
> Fine by me.
> Didn't you use to argue for using inttypes.h, and not stdint.h?
AFAIU stdint.h is a subset of inttypes.h and we have had reports of
systems lacking inttypes.h. Apparently both types of systems exist.
Still we use stdint.h in most places. Thus settling for stdint.h
everywhere it suffices should make the situation more uniform, which
would already be an improvement.
More information about the ffmpeg-devel