mmsh.h
资源名称:vlc-1.0.5.zip [点击查看]
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:2k
源码类别:
midi
开发平台:
Unix_Linux
- /*****************************************************************************
- * mmsh.h:
- *****************************************************************************
- * Copyright (C) 2001, 2002 the VideoLAN team
- * $Id: 3a2aa695df4179aa618e0d30b5cd1e20929633c9 $
- *
- * Authors: Laurent Aimar <fenrir@via.ecp.fr>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
- #ifndef _MMSH_H_
- #define _MMSH_H_ 1
- typedef struct
- {
- uint16_t i_type;
- uint16_t i_size;
- uint32_t i_sequence;
- uint16_t i_unknown;
- uint16_t i_size2;
- int i_data;
- uint8_t *p_data;
- } chunk_t;
- #define BUFFER_SIZE 65536
- struct access_sys_t
- {
- int i_proto;
- int fd;
- vlc_url_t url;
- bool b_proxy;
- vlc_url_t proxy;
- int i_request_context;
- uint8_t buffer[BUFFER_SIZE + 1];
- bool b_broadcast;
- uint8_t *p_header;
- int i_header;
- uint8_t *p_packet;
- uint32_t i_packet_sequence;
- unsigned int i_packet_used;
- unsigned int i_packet_length;
- int64_t i_start;
- asf_header_t asfh;
- guid_t guid;
- };
- #endif