comparison libmpdemux/asf.h @ 3041:6b31e121f36a

Changed the some functions prototypes for the network streaming.
author bertrand
date Tue, 20 Nov 2001 22:17:16 +0000
parents 66837325b929
children 28301d979dba
comparison
equal deleted inserted replaced
3040:9fad4017ec37 3041:6b31e121f36a
3 3
4 //#include "config.h" /* for WORDS_BIGENDIAN */ 4 //#include "config.h" /* for WORDS_BIGENDIAN */
5 #include <inttypes.h> 5 #include <inttypes.h>
6 #include "bswap.h" 6 #include "bswap.h"
7 #ifdef STREAMING 7 #ifdef STREAMING
8 #include "stream.h"
8 #include "network.h" 9 #include "network.h"
9 #endif 10 #endif
10 11
11 #ifndef MIN 12 #ifndef MIN
12 #define MIN(a,b) ((a<b)?a:b) 13 #define MIN(a,b) ((a<b)?a:b)
189 #define le2me_WAVEFORMATEX(h) /**/ 190 #define le2me_WAVEFORMATEX(h) /**/
190 #endif 191 #endif
191 192
192 193
193 #ifdef STREAMING 194 #ifdef STREAMING
194 int asf_http_streaming_type(char *content_type, char *features); 195 //int asf_http_streaming_type(char *content_type, char *features);
195 int asf_http_streaming_start( streaming_ctrl_t *streaming_ctrl ); 196 int asf_http_streaming_start( stream_t *stream );
196 int asf_http_streaming_read( streaming_ctrl_t *streaming_ctrl ); 197 int asf_http_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *streaming_ctrl );
197 198
198 int asf_streaming(char *data, int length, int *drop_packet ); 199 int asf_streaming(char *data, int length, int *drop_packet );
199 #endif 200 #endif
200 201
201 #endif 202 #endif