Revision f35ff97f

View differences:

libavformat/applehttpproto.c
298 298
}
299 299

  
300 300
URLProtocol ff_applehttp_protocol = {
301
    "applehttp",
302
    applehttp_open,
303
    applehttp_read,
304
    NULL, /* write */
305
    NULL, /* seek */
306
    applehttp_close,
307
    .flags = URL_PROTOCOL_FLAG_NESTED_SCHEME,
301
    .name      = "applehttp",
302
    .url_open  = applehttp_open,
303
    .url_read  = applehttp_read,
304
    .url_close = applehttp_close,
305
    .flags     = URL_PROTOCOL_FLAG_NESTED_SCHEME,
308 306
};
libavformat/concat.c
190 190
}
191 191

  
192 192
URLProtocol ff_concat_protocol = {
193
    "concat",
194
    concat_open,
195
    concat_read,
196
    NULL,
197
    concat_seek,
198
    concat_close,
193
    .name      = "concat",
194
    .url_open  = concat_open,
195
    .url_read  = concat_read,
196
    .url_seek  = concat_seek,
197
    .url_close = concat_close,
199 198
};
libavformat/file.c
95 95
}
96 96

  
97 97
URLProtocol ff_file_protocol = {
98
    "file",
99
    file_open,
100
    file_read,
101
    file_write,
102
    file_seek,
103
    file_close,
98
    .name                = "file",
99
    .url_open            = file_open,
100
    .url_read            = file_read,
101
    .url_write           = file_write,
102
    .url_seek            = file_seek,
103
    .url_close           = file_close,
104 104
    .url_get_file_handle = file_get_handle,
105 105
};
106 106

  
......
131 131
}
132 132

  
133 133
URLProtocol ff_pipe_protocol = {
134
    "pipe",
135
    pipe_open,
136
    file_read,
137
    file_write,
134
    .name                = "pipe",
135
    .url_open            = pipe_open,
136
    .url_read            = file_read,
137
    .url_write           = file_write,
138 138
    .url_get_file_handle = file_get_handle,
139 139
};
140 140

  
libavformat/gopher.c
121 121

  
122 122

  
123 123
URLProtocol ff_gopher_protocol = {
124
    "gopher",
125
    gopher_open,
126
    gopher_read,
127
    gopher_write,
128
    NULL, /*seek*/
129
    gopher_close,
124
    .name      = "gopher",
125
    .url_open  = gopher_open,
126
    .url_read  = gopher_read,
127
    .url_write = gopher_write,
128
    .url_close = gopher_close,
130 129
};
libavformat/http.c
505 505
}
506 506

  
507 507
URLProtocol ff_http_protocol = {
508
    "http",
509
    http_open,
510
    http_read,
511
    http_write,
512
    http_seek,
513
    http_close,
508
    .name                = "http",
509
    .url_open            = http_open,
510
    .url_read            = http_read,
511
    .url_write           = http_write,
512
    .url_seek            = http_seek,
513
    .url_close           = http_close,
514 514
    .url_get_file_handle = http_get_file_handle,
515
    .priv_data_size = sizeof(HTTPContext),
516
    .priv_data_class = &httpcontext_class,
515
    .priv_data_size      = sizeof(HTTPContext),
516
    .priv_data_class     = &httpcontext_class,
517 517
};
libavformat/librtmp.c
158 158
}
159 159

  
160 160
URLProtocol ff_rtmp_protocol = {
161
    "rtmp",
162
    rtmp_open,
163
    rtmp_read,
164
    rtmp_write,
165
    NULL,                   /* seek */
166
    rtmp_close,
167
    NULL,                   /* next */
168
    rtmp_read_pause,
169
    rtmp_read_seek,
170
    rtmp_get_file_handle
161
    .name                = "rtmp",
162
    .url_open            = rtmp_open,
163
    .url_read            = rtmp_read,
164
    .url_write           = rtmp_write,
165
    .url_close           = rtmp_close,
166
    .url_read_pause      = rtmp_read_pause,
167
    .url_read_seek       = rtmp_read_seek,
168
    .url_get_file_handle = rtmp_get_file_handle
171 169
};
172 170

  
173 171
URLProtocol ff_rtmpt_protocol = {
174
    "rtmpt",
175
    rtmp_open,
176
    rtmp_read,
177
    rtmp_write,
178
    NULL,                   /* seek */
179
    rtmp_close,
180
    NULL,                   /* next */
181
    rtmp_read_pause,
182
    rtmp_read_seek,
183
    rtmp_get_file_handle
172
    .name                = "rtmpt",
173
    .url_open            = rtmp_open,
174
    .url_read            = rtmp_read,
175
    .url_write           = rtmp_write,
176
    .url_close           = rtmp_close,
177
    .url_read_pause      = rtmp_read_pause,
178
    .url_read_seek       = rtmp_read_seek,
179
    .url_get_file_handle = rtmp_get_file_handle
184 180
};
185 181

  
186 182
URLProtocol ff_rtmpe_protocol = {
187
    "rtmpe",
188
    rtmp_open,
189
    rtmp_read,
190
    rtmp_write,
191
    NULL,                   /* seek */
192
    rtmp_close,
193
    NULL,                   /* next */
194
    rtmp_read_pause,
195
    rtmp_read_seek,
196
    rtmp_get_file_handle
183
    .name                = "rtmpe",
184
    .url_open            = rtmp_open,
185
    .url_read            = rtmp_read,
186
    .url_write           = rtmp_write,
187
    .url_close           = rtmp_close,
188
    .url_read_pause      = rtmp_read_pause,
189
    .url_read_seek       = rtmp_read_seek,
190
    .url_get_file_handle = rtmp_get_file_handle
197 191
};
198 192

  
199 193
URLProtocol ff_rtmpte_protocol = {
200
    "rtmpte",
201
    rtmp_open,
202
    rtmp_read,
203
    rtmp_write,
204
    NULL,                   /* seek */
205
    rtmp_close,
206
    NULL,                   /* next */
207
    rtmp_read_pause,
208
    rtmp_read_seek,
209
    rtmp_get_file_handle
194
    .name                = "rtmpte",
195
    .url_open            = rtmp_open,
196
    .url_read            = rtmp_read,
197
    .url_write           = rtmp_write,
198
    .url_close           = rtmp_close,
199
    .url_read_pause      = rtmp_read_pause,
200
    .url_read_seek       = rtmp_read_seek,
201
    .url_get_file_handle = rtmp_get_file_handle
210 202
};
211 203

  
212 204
URLProtocol ff_rtmps_protocol = {
213
    "rtmps",
214
    rtmp_open,
215
    rtmp_read,
216
    rtmp_write,
217
    NULL,                   /* seek */
218
    rtmp_close,
219
    NULL,                   /* next */
220
    rtmp_read_pause,
221
    rtmp_read_seek,
222
    rtmp_get_file_handle
205
    .name                = "rtmps",
206
    .url_open            = rtmp_open,
207
    .url_read            = rtmp_read,
208
    .url_write           = rtmp_write,
209
    .url_close           = rtmp_close,
210
    .url_read_pause      = rtmp_read_pause,
211
    .url_read_seek       = rtmp_read_seek,
212
    .url_get_file_handle = rtmp_get_file_handle
223 213
};
libavformat/mmst.c
623 623
}
624 624

  
625 625
URLProtocol ff_mmst_protocol = {
626
    "mmst",
627
    mms_open,
628
    mms_read,
629
    NULL, // write
630
    NULL, // seek
631
    mms_close,
626
    .name      = "mmst",
627
    .url_open  = mms_open,
628
    .url_read  = mms_read,
629
    .url_close = mms_close,
632 630
};
libavformat/rtmpproto.c
991 991
}
992 992

  
993 993
URLProtocol ff_rtmp_protocol = {
994
    "rtmp",
995
    rtmp_open,
996
    rtmp_read,
997
    rtmp_write,
998
    NULL, /* seek */
999
    rtmp_close,
994
    .name      = "rtmp",
995
    .url_open  = rtmp_open,
996
    .url_read  = rtmp_read,
997
    .url_write = rtmp_write,
998
    .url_close = rtmp_close,
1000 999
};
libavformat/rtpproto.c
355 355
}
356 356

  
357 357
URLProtocol ff_rtp_protocol = {
358
    "rtp",
359
    rtp_open,
360
    rtp_read,
361
    rtp_write,
362
    NULL, /* seek */
363
    rtp_close,
358
    .name                = "rtp",
359
    .url_open            = rtp_open,
360
    .url_read            = rtp_read,
361
    .url_write           = rtp_write,
362
    .url_close           = rtp_close,
364 363
    .url_get_file_handle = rtp_get_file_handle,
365 364
};
libavformat/tcp.c
195 195
}
196 196

  
197 197
URLProtocol ff_tcp_protocol = {
198
    "tcp",
199
    tcp_open,
200
    tcp_read,
201
    tcp_write,
202
    NULL, /* seek */
203
    tcp_close,
198
    .name                = "tcp",
199
    .url_open            = tcp_open,
200
    .url_read            = tcp_read,
201
    .url_write           = tcp_write,
202
    .url_close           = tcp_close,
204 203
    .url_get_file_handle = tcp_get_file_handle,
205 204
};
libavformat/udp.c
489 489
}
490 490

  
491 491
URLProtocol ff_udp_protocol = {
492
    "udp",
493
    udp_open,
494
    udp_read,
495
    udp_write,
496
    NULL, /* seek */
497
    udp_close,
492
    .name                = "udp",
493
    .url_open            = udp_open,
494
    .url_read            = udp_read,
495
    .url_write           = udp_write,
496
    .url_close           = udp_close,
498 497
    .url_get_file_handle = udp_get_file_handle,
499 498
};

Also available in: Unified diff