[Mplayer-cvslog] CVS: main/libmpdemux asf.h,1.13,1.14

Bertrand Baudet bertrand at mplayer.dev.hu
Wed Jan 23 09:43:15 CET 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv7685/libmpdemux

Modified Files:
	asf.h 
Log Message:
Removed unused code that I commented earlier.


Index: asf.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- asf.h	20 Jan 2002 21:38:11 -0000	1.13
+++ asf.h	23 Jan 2002 08:43:04 -0000	1.14
@@ -4,10 +4,6 @@
 //#include "config.h"	/* for WORDS_BIGENDIAN */
 #include <inttypes.h>
 #include "bswap.h"
-#ifdef	STREAMING
-#include "stream.h"
-#include "network.h"
-#endif
 
 #ifndef MIN
 #define MIN(a,b) ((a<b)?a:b)
@@ -48,22 +44,6 @@
 /////////////////////
 // ASF File Header 
 /////////////////////
-/* Bertrand -- 2002/01/19 -- Start --
-typedef struct __attribute__((packed)) {
-  uint8_t client[16]; // Client GUID
-  uint64_t file_size;
-  uint64_t creat_time; //File creation time FILETIME 8
-  uint64_t packets;    //Number of packets UINT64 8
-  uint64_t end_timestamp; //Timestamp of the end position UINT64 8
-  uint64_t duration;  //Duration of the playback UINT64 8
-  uint32_t start_timestamp; //Timestamp of the start position UINT32 4
-  uint32_t preroll; //Time to bufferize before playing UINT32 4
-  uint32_t flags; //Unknown, maybe flags ( usually contains 2 ) UINT32 4
-  uint32_t packetsize; //Size of packet, in bytes UINT32 4
-  uint32_t packetsize2; //Size of packet ( confirm ) UINT32 4
-  uint32_t frame_size; //Size of uncompressed video frame UINT32 4
-} ASF_file_header_t;
-*/
 typedef struct __attribute__((packed)) {
   uint8_t stream_id[16]; // stream GUID
   uint64_t file_size;
@@ -77,7 +57,6 @@
   uint32_t max_packet_size; //Max size of the packet  UINT32 4
   uint32_t max_bitrate; //Maximum bitrate of the media (sum of all the stream)
 } ASF_file_header_t;
-// Bertrand -- 2002/01/19 -- End --
 
 ///////////////////////
 // ASF Stream Header
@@ -154,21 +133,6 @@
     (h)->stream_no = le2me_16((h)->stream_no);				\
     (h)->unk2 = le2me_32((h)->unk2);					\
 }
-/* Bertrand -- 2002/01/19 -- Start --
-#define le2me_ASF_file_header_t(h) {					\
-    (h)->file_size = le2me_64((h)->file_size);				\
-    (h)->creat_time = le2me_64((h)->creat_time);			\
-    (h)->packets = le2me_64((h)->packets);				\
-    (h)->end_timestamp = le2me_64((h)->end_timestamp);			\
-    (h)->duration = le2me_64((h)->duration);				\
-    (h)->start_timestamp = le2me_32((h)->start_timestamp);		\
-    (h)->preroll = le2me_32((h)->preroll);				\
-    (h)->flags = le2me_32((h)->flags);					\
-    (h)->packetsize = le2me_32((h)->packetsize);			\
-    (h)->packetsize2 = le2me_32((h)->packetsize2);			\
-    (h)->frame_size = le2me_32((h)->frame_size);			\
-}
-*/
 #define le2me_ASF_file_header_t(h) {					\
     (h)->file_size = le2me_64((h)->file_size);				\
     (h)->creation_time = le2me_64((h)->creation_time);			\
@@ -181,7 +145,6 @@
     (h)->max_packet_size = le2me_32((h)->max_packet_size);		\
     (h)->max_bitrate = le2me_32((h)->max_bitrate);			\
 }
-// Bertrand -- 2002/01/19 -- End --
 #define le2me_ASF_content_description_t(h) {				\
     (h)->title_size = le2me_16((h)->title_size);			\
     (h)->author_size = le2me_16((h)->author_size);			\




More information about the MPlayer-cvslog mailing list