[MPlayer-cvslog] CVS: main/libmpdemux mpeg_hdr.c,1.13,1.14

Richard Felker CVS syncmail at mplayerhq.hu
Wed Apr 20 17:17:11 CEST 2005


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv430/libmpdemux

Modified Files:
	mpeg_hdr.c 
Log Message:
proper fix

Index: mpeg_hdr.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/mpeg_hdr.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- mpeg_hdr.c	20 Apr 2005 15:16:31 -0000	1.13
+++ mpeg_hdr.c	20 Apr 2005 15:17:08 -0000	1.14
@@ -1,7 +1,7 @@
 
 // based on libmpeg2/header.c by Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
 
-// #include <inttypes.h>
+#include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -286,7 +286,7 @@
     fixed_fps = getbits(buf, n, 1);
     
     if(picture->timeinc_unit > 0 && picture->timeinc_resolution > 0)
-      picture->fps = ((u_int64_t)picture->timeinc_resolution * 10000) / picture->timeinc_unit;
+      picture->fps = ((uint64_t)picture->timeinc_resolution * 10000) / picture->timeinc_unit;
   }
   
   //fprintf(stderr, "H264_PARSE_VUI, OVESCAN=%u, VSP_COLOR=%u, CHROMA=%u, TIMING=%u, DISPW=%u, DISPH=%u, TIMERES=%u, TIMEINC=%u, FIXED_FPS=%u\n", overscan, vsp_color, chroma, timing, picture->display_picture_width, picture->display_picture_height,




More information about the MPlayer-cvslog mailing list