[MPlayer-cvslog] CVS: main/libmpdemux demux_mpg.c,1.78,1.79
Nico Sabbi CVS
syncmail at mplayerhq.hu
Tue Apr 11 22:05:26 CEST 2006
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv15801
Modified Files:
demux_mpg.c
Log Message:
timestamps are 33 bits long, so they don't fit in an unsigned int; 10l
Index: demux_mpg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mpg.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- demux_mpg.c 10 Apr 2006 16:18:17 -0000 1.78
+++ demux_mpg.c 11 Apr 2006 20:05:24 -0000 1.79
@@ -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;
More information about the MPlayer-cvslog
mailing list