# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181484991 -7200
# Node ID f28a62513e1c15b36d25a71735237ab8a3a2af8b
# Parent 688e71d69641fb4ecedcaf43309df4af1f46287e
Reorder fields and make use of bitmask for boolean values.
diff -r f28a62513e1c15b36d25a71735237ab8a3a2af8b -r
688e71d69641fb4ecedcaf43309df4af1f46287e src/input/input_http.c
--- a/src/input/input_http.c Sun Jun 10 16:16:31 2007 +0200
+++ b/src/input/input_http.c Sun Jun 10 16:07:48 2007 +0200
@@ -71,7 +71,6 @@ typedef struct {
xine_stream_t *stream;
- int fh;
char *mrl;
nbc_t *nbc;
@@ -85,26 +84,26 @@ typedef struct {
char auth[BUFSIZE];
char proxyauth[BUFSIZE];
+ char preview[MAX_PREVIEW_SIZE];
+ off_t preview_size;
+
char *proto;
char *user;
char *password;
char *host;
+ char *uri;
int port;
- char *uri;
-
- char preview[MAX_PREVIEW_SIZE];
- off_t preview_size;
-
- /* 2 spare bytes here */
-
- /* NSV */
- unsigned char is_nsv; /* bool */
-
- /* Last.FM streaming server */
- unsigned char is_lastfm;
+
+ int fh;
+
+ /** Set to 1 if the stream is a NSV stream. */
+ int is_nsv:1;
+ /** Set to 1 if the stream comes from last.fm. */
+ int is_lastfm:1;
+ /** Set to 1 if the stream is ShoutCast. */
+ int shoutcast_mode:1;
/* ShoutCast */
- unsigned char shoutcast_mode; /* bool */
int shoutcast_metaint;
off_t shoutcast_pos;
char *shoutcast_songtitle;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog