| OLD | NEW |
| 1 /* | 1 /* |
| 2 * copyright (c) 2001 Fabrice Bellard | 2 * copyright (c) 2001 Fabrice Bellard |
| 3 * | 3 * |
| 4 * This file is part of FFmpeg. | 4 * This file is part of FFmpeg. |
| 5 * | 5 * |
| 6 * FFmpeg is free software; you can redistribute it and/or | 6 * FFmpeg is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2.1 of the License, or (at your option) any later version. | 9 * version 2.1 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 * @param logctx the log context | 94 * @param logctx the log context |
| 95 * @param offset the offset within the bytestream to probe from | 95 * @param offset the offset within the bytestream to probe from |
| 96 * @param max_probe_size the maximum probe buffer size (zero for default) | 96 * @param max_probe_size the maximum probe buffer size (zero for default) |
| 97 * @return 0 in case of success, a negative value corresponding to an | 97 * @return 0 in case of success, a negative value corresponding to an |
| 98 * AVERROR code otherwise | 98 * AVERROR code otherwise |
| 99 */ | 99 */ |
| 100 int ff_probe_input_buffer(ByteIOContext **pb, AVInputFormat **fmt, | 100 int ff_probe_input_buffer(ByteIOContext **pb, AVInputFormat **fmt, |
| 101 const char *filename, void *logctx, | 101 const char *filename, void *logctx, |
| 102 unsigned int offset, unsigned int max_probe_size); | 102 unsigned int offset, unsigned int max_probe_size); |
| 103 | 103 |
| 104 #if LIBAVFORMAT_VERSION_MAJOR < 53 | 104 #if FF_API_URL_SPLIT |
| 105 /** | 105 /** |
| 106 * @deprecated use av_url_split() instead | 106 * @deprecated use av_url_split() instead |
| 107 */ | 107 */ |
| 108 void ff_url_split(char *proto, int proto_size, | 108 void ff_url_split(char *proto, int proto_size, |
| 109 char *authorization, int authorization_size, | 109 char *authorization, int authorization_size, |
| 110 char *hostname, int hostname_size, | 110 char *hostname, int hostname_size, |
| 111 int *port_ptr, | 111 int *port_ptr, |
| 112 char *path, int path_size, | 112 char *path, int path_size, |
| 113 const char *url); | 113 const char *url); |
| 114 #endif | 114 #endif |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 * | 214 * |
| 215 * @param str the string to parse | 215 * @param str the string to parse |
| 216 * @param callback_get_buf function that returns where to store the | 216 * @param callback_get_buf function that returns where to store the |
| 217 * unescaped value string. | 217 * unescaped value string. |
| 218 * @param context the opaque context pointer to pass to callback_get_buf | 218 * @param context the opaque context pointer to pass to callback_get_buf |
| 219 */ | 219 */ |
| 220 void ff_parse_key_value(const char *str, ff_parse_key_val_cb callback_get_buf, | 220 void ff_parse_key_value(const char *str, ff_parse_key_val_cb callback_get_buf, |
| 221 void *context); | 221 void *context); |
| 222 | 222 |
| 223 #endif /* AVFORMAT_INTERNAL_H */ | 223 #endif /* AVFORMAT_INTERNAL_H */ |
| OLD | NEW |