Revision f3bfe388 libavformat/avformat.h

View differences:

libavformat/avformat.h
1185 1185
int av_set_parameters(AVFormatContext *s, AVFormatParameters *ap);
1186 1186

  
1187 1187
/**
1188
 * Split a URL string into components.
1189
 *
1190
 * The pointers to buffers for storing individual components may be null,
1191
 * in order to ignore that component. Buffers for components not found are
1192
 * set to empty strings. If the port is not found, it is set to a negative
1193
 * value.
1194
 *
1195
 * @param proto the buffer for the protocol
1196
 * @param proto_size the size of the proto buffer
1197
 * @param authorization the buffer for the authorization
1198
 * @param authorization_size the size of the authorization buffer
1199
 * @param hostname the buffer for the host name
1200
 * @param hostname_size the size of the hostname buffer
1201
 * @param port_ptr a pointer to store the port number in
1202
 * @param path the buffer for the path
1203
 * @param path_size the size of the path buffer
1204
 * @param url the URL to split
1205
 */
1206
void av_url_split(char *proto,         int proto_size,
1207
                  char *authorization, int authorization_size,
1208
                  char *hostname,      int hostname_size,
1209
                  int *port_ptr,
1210
                  char *path,          int path_size,
1211
                  const char *url);
1212

  
1213
/**
1188 1214
 * Allocates the stream private data and writes the stream header to an
1189 1215
 * output media file.
1190 1216
 *

Also available in: Unified diff