Revision f35ff97f libavformat/librtmp.c

View differences:

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
};

Also available in: Unified diff