From 91db2da5281ab92bb44ac227d85c0513f645124f Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Sun, 31 Mar 2002 20:38:40 +0000 Subject: Set all pts variabled to int64_t. CVS patchset: 1651 CVS date: 2002/03/31 20:38:40 --- src/libmpg123/interface.c | 4 ++-- src/libmpg123/mpglib.h | 6 +++--- src/libmpg123/xine_decoder.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/libmpg123') diff --git a/src/libmpg123/interface.c b/src/libmpg123/interface.c index 45c78c604..fccc19abe 100644 --- a/src/libmpg123/interface.c +++ b/src/libmpg123/interface.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: interface.c,v 1.5 2001/08/21 19:39:50 jcdutton Exp $ + * $Id: interface.c,v 1.6 2002/03/31 20:38:41 jcdutton Exp $ */ #include @@ -78,7 +78,7 @@ int head_check(struct mpstr *mp) } void mpg_audio_decode_data (mpgaudio_t *mp, uint8_t *data, uint8_t *data_end, - uint32_t pts) + int64_t pts) { while (1) { diff --git a/src/libmpg123/mpglib.h b/src/libmpg123/mpglib.h index 60014828f..54de6a5f3 100644 --- a/src/libmpg123/mpglib.h +++ b/src/libmpg123/mpglib.h @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: mpglib.h,v 1.6 2001/08/21 19:39:50 jcdutton Exp $ + * $Id: mpglib.h,v 1.7 2002/03/31 20:38:41 jcdutton Exp $ */ #ifndef HAVE_MPGLIB_H @@ -51,7 +51,7 @@ typedef struct mpstr { ao_instance_t *ao_output; unsigned char osspace[8192]; - uint32_t pts; + int64_t pts; } mpgaudio_t; #ifndef BOOL @@ -67,7 +67,7 @@ mpgaudio_t *mpg_audio_init (ao_instance_t *ao_output); void mpg_audio_reset (mpgaudio_t *mp); void mpg_audio_decode_data (mpgaudio_t *mp, uint8_t *data, uint8_t *data_end, - uint32_t pts); + int64_t pts); void mpg_audio_close (mpgaudio_t *mp); diff --git a/src/libmpg123/xine_decoder.c b/src/libmpg123/xine_decoder.c index 9721bfc8c..ea7cd9866 100644 --- a/src/libmpg123/xine_decoder.c +++ b/src/libmpg123/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.6 2001/12/11 15:30:06 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.7 2002/03/31 20:38:41 jcdutton Exp $ * * stuff needed to turn libmpg123 into a xine decoder plugin */ @@ -40,7 +40,7 @@ typedef struct mpgdec_decoder_s { audio_decoder_t audio_decoder; - uint32_t pts; + int64_t pts; mpgaudio_t *mpg; -- cgit v1.2.3