Mercurial > mplayer.hg
changeset 18077:cede662f40a5
timestamps are 33 bits long, so they don't fit in an unsigned int; 10l
author | nicodvb |
---|---|
date | Tue, 11 Apr 2006 20:05:24 +0000 |
parents | d30afd14867f |
children | aeb937690d3d |
files | libmpdemux/demux_mpg.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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;