diff asfheader.c @ 848:738dc5a2bb39

Changed some #ifdef to include modify ASF structs definition when STREAMING is defined.
author bertrand
date Mon, 21 May 2001 13:04:34 +0000
parents a88b87750b8a
children 26579d6e6c38
line wrap: on
line diff
--- a/asfheader.c	Mon May 21 12:43:10 2001 +0000
+++ b/asfheader.c	Mon May 21 13:04:34 2001 +0000
@@ -16,10 +16,9 @@
 #include "codec-cfg.h"
 #include "stheader.h"
 
-#include "asf.h"
 
 // BB: Moved to asf.h  --------------------- FROM HERE -------------------
-#ifdef 0
+#ifndef STREAMING
 typedef struct __attribute__((packed)) {
   unsigned char guid[16];
   unsigned long long size;
@@ -64,6 +63,8 @@
   unsigned short comment_size;
   unsigned short rating_size;
 } ASF_content_description_t;
+#else
+#include "asf.h"
 #endif
 // BB: Moved to asf.h  --------------------- TO HERE -------------------