Mercurial > mplayer.hg
view etc/inttypes.h @ 8638:a2fa276b8ec7
The attached patch fixes a crash on *my* environment with certain DVD's.
The sprintf function has been replaced by an snprintf function to prevent
the buffer overflow.
Erik Oomen <erik.oomen@home.nl>
author | arpi |
---|---|
date | Sun, 29 Dec 2002 15:34:50 +0000 |
parents | d0d7fcc5dcd6 |
children | dae8bc96fb15 |
line wrap: on
line source
// fallback if the user doesn't have inttypes.h (libc5 systems) typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned long uint32_t; typedef unsigned long long uint64_t; typedef signed char int8_t; typedef signed short int16_t; typedef signed long int32_t; typedef signed long long int64_t;