]> git.sesse.net Git - vlc/blobdiff - modules/access/mms/mmsh.h
Fix tiny memleak.
[vlc] / modules / access / mms / mmsh.h
index de43734de9c9222f62765658c2b638e6f0fa76fe..3a2aa695df4179aa618e0d30b5cd1e20929633c9 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * mmsh.h:
  *****************************************************************************
- * Copyright (C) 2001, 2002 VideoLAN
+ * Copyright (C) 2001, 2002 the VideoLAN team
  * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifndef _MMSH_H_
+#define _MMSH_H_ 1
+
 typedef struct
 {
     uint16_t i_type;
@@ -44,11 +47,14 @@ struct access_sys_t
     int             fd;
     vlc_url_t       url;
 
+    bool      b_proxy;
+    vlc_url_t       proxy;
+
     int             i_request_context;
 
     uint8_t         buffer[BUFFER_SIZE + 1];
 
-    vlc_bool_t      b_broadcast;
+    bool      b_broadcast;
 
     uint8_t         *p_header;
     int             i_header;
@@ -58,8 +64,10 @@ struct access_sys_t
     unsigned int    i_packet_used;
     unsigned int    i_packet_length;
 
-    off_t           i_pos;
+    int64_t         i_start;
 
     asf_header_t    asfh;
     guid_t          guid;
 };
+
+#endif