comparison stream/realrtsp/rmff.h @ 29263:0f1b5b68af32

whitespace cosmetics: Remove all trailing whitespace.
author diego
date Wed, 13 May 2009 02:58:57 +0000
parents c884d17bd005
children
comparison
equal deleted inserted replaced
29262:7d545a6b8aff 29263:0f1b5b68af32
105 uint32_t preroll; 105 uint32_t preroll;
106 uint32_t index_offset; 106 uint32_t index_offset;
107 uint32_t data_offset; 107 uint32_t data_offset;
108 uint16_t num_streams; 108 uint16_t num_streams;
109 uint16_t flags; 109 uint16_t flags;
110 110
111 } rmff_prop_t; 111 } rmff_prop_t;
112 112
113 typedef struct { 113 typedef struct {
114 114
115 uint32_t object_id; 115 uint32_t object_id;
148 char *author; 148 char *author;
149 uint16_t copyright_len; 149 uint16_t copyright_len;
150 char *copyright; 150 char *copyright;
151 uint16_t comment_len; 151 uint16_t comment_len;
152 char *comment; 152 char *comment;
153 153
154 } rmff_cont_t; 154 } rmff_cont_t;
155 155
156 typedef struct { 156 typedef struct {
157 157
158 uint32_t object_id; 158 uint32_t object_id;
159 uint32_t size; 159 uint32_t size;
160 uint16_t object_version; 160 uint16_t object_version;
161 161
162 uint32_t num_packets; 162 uint32_t num_packets;
185 } rmff_pheader_t; 185 } rmff_pheader_t;
186 186
187 /* 187 /*
188 * constructors for header structs 188 * constructors for header structs
189 */ 189 */
190 190
191 rmff_fileheader_t *rmff_new_fileheader(uint32_t num_headers); 191 rmff_fileheader_t *rmff_new_fileheader(uint32_t num_headers);
192 192
193 rmff_prop_t *rmff_new_prop ( 193 rmff_prop_t *rmff_new_prop (
194 uint32_t max_bit_rate, 194 uint32_t max_bit_rate,
195 uint32_t avg_bit_rate, 195 uint32_t avg_bit_rate,
254 254
255 /* 255 /*
256 * returns the size of the header (incl. first data-header) 256 * returns the size of the header (incl. first data-header)
257 */ 257 */
258 int rmff_get_header_size(rmff_header_t *h); 258 int rmff_get_header_size(rmff_header_t *h);
259 259
260 /* 260 /*
261 * dumps the header <h> to <buffer>. <max> is the size of <buffer> 261 * dumps the header <h> to <buffer>. <max> is the size of <buffer>
262 */ 262 */
263 int rmff_dump_header(rmff_header_t *h, char *buffer, int max); 263 int rmff_dump_header(rmff_header_t *h, char *buffer, int max);
264 264