[MPlayer-cvslog] r34195 - trunk/libmpdemux/demux_pva.c

reimar subversion at mplayerhq.hu
Thu Oct 13 18:49:21 CEST 2011


Author: reimar
Date: Thu Oct 13 18:49:21 2011
New Revision: 34195

Log:
Do not use long type, it makes the code more platform dependent for no
good reason.

Modified:
   trunk/libmpdemux/demux_pva.c

Modified: trunk/libmpdemux/demux_pva.c
==============================================================================
--- trunk/libmpdemux/demux_pva.c	Thu Oct 13 18:45:48 2011	(r34194)
+++ trunk/libmpdemux/demux_pva.c	Thu Oct 13 18:49:21 2011	(r34195)
@@ -51,7 +51,7 @@
 
 typedef struct {
 	off_t offset;
-	long size;
+	int size;
 	uint8_t type;
 	uint8_t is_packet_start;
 	float pts;
@@ -62,7 +62,7 @@ typedef struct {
 	float last_audio_pts;
 	float last_video_pts;
 	float video_pts_after_prebytes;
-	long video_size_after_prebytes;
+	int video_size_after_prebytes;
 	uint8_t prebytes_delivered;
 	uint8_t just_synced;
 	uint8_t synced_stream_id;


More information about the MPlayer-cvslog mailing list