changeset 4310:1c88d75b446c

Removed unused code that I commented earlier.
author bertrand
date Wed, 23 Jan 2002 08:43:04 +0000
parents 35b412015c39
children c9f861653fe2
files libmpdemux/asf.h
diffstat 1 files changed, 0 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asf.h	Tue Jan 22 22:47:17 2002 +0000
+++ b/libmpdemux/asf.h	Wed Jan 23 08:43:04 2002 +0000
@@ -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);			\