# HG changeset patch # User nicodvb # Date 1144785924 0 # Node ID cede662f40a534a113eca9be4b1f25431b71397a # Parent d30afd14867f7e2f920f406b7075dfb813611a12 timestamps are 33 bits long, so they don't fit in an unsigned int; 10l diff -r d30afd14867f -r cede662f40a5 libmpdemux/demux_mpg.c --- a/libmpdemux/demux_mpg.c Tue Apr 11 12:17:21 2006 +0000 +++ b/libmpdemux/demux_mpg.c Tue Apr 11 20:05:24 2006 +0000 @@ -152,9 +152,9 @@ } -static unsigned int read_mpeg_timestamp(stream_t *s,int c){ +static unsigned long long read_mpeg_timestamp(stream_t *s,int c){ int d,e; - unsigned int pts; + unsigned long long pts; d=stream_read_word(s); e=stream_read_word(s); if( ((c&1)!=1) || ((d&1)!=1) || ((e&1)!=1) ){ @@ -187,8 +187,8 @@ int d; int len; unsigned char c=0; - unsigned int pts=0; - unsigned int dts=0; + unsigned long long pts=0; + unsigned long long dts=0; demux_stream_t *ds=NULL; mpg_demuxer_t *priv = (mpg_demuxer_t *) demux->priv;