#include "libavutil/avstring.h"
#include "avformat.h"
#include "internal.h"
#include "url.h"
#include <unistd.h>
Go to the source code of this file.
Data Structures | |
struct | segment |
struct | variant |
struct | AppleHTTPContext |
struct | variant_info |
Functions | |
static int | read_chomp_line (AVIOContext *s, char *buf, int maxlen) |
static void | free_segment_list (AppleHTTPContext *s) |
static void | free_variant_list (AppleHTTPContext *s) |
static void | handle_variant_args (struct variant_info *info, const char *key, int key_len, char **dest, int *dest_len) |
static int | parse_playlist (URLContext *h, const char *url) |
static int | applehttp_open (URLContext *h, const char *uri, int flags) |
static int | applehttp_read (URLContext *h, uint8_t *buf, int size) |
static int | applehttp_close (URLContext *h) |
Variables | |
URLProtocol | ff_applehttp_protocol |
Definition in file applehttpproto.c.
static int applehttp_close | ( | URLContext * | h | ) | [static] |
Definition at line 288 of file applehttpproto.c.
static int applehttp_open | ( | URLContext * | h, | |
const char * | uri, | |||
int | flags | |||
) | [static] |
Definition at line 176 of file applehttpproto.c.
static int applehttp_read | ( | URLContext * | h, | |
uint8_t * | buf, | |||
int | size | |||
) | [static] |
Definition at line 235 of file applehttpproto.c.
static void free_segment_list | ( | AppleHTTPContext * | s | ) | [static] |
Definition at line 78 of file applehttpproto.c.
static void free_variant_list | ( | AppleHTTPContext * | s | ) | [static] |
Definition at line 87 of file applehttpproto.c.
static void handle_variant_args | ( | struct variant_info * | info, | |
const char * | key, | |||
int | key_len, | |||
char ** | dest, | |||
int * | dest_len | |||
) | [static] |
Definition at line 100 of file applehttpproto.c.
static int parse_playlist | ( | URLContext * | h, | |
const char * | url | |||
) | [static] |
Definition at line 109 of file applehttpproto.c.
static int read_chomp_line | ( | AVIOContext * | s, | |
char * | buf, | |||
int | maxlen | |||
) | [static] |
Definition at line 70 of file applehttpproto.c.
Initial value:
{ .name = "applehttp", .url_open = applehttp_open, .url_read = applehttp_read, .url_close = applehttp_close, .flags = URL_PROTOCOL_FLAG_NESTED_SCHEME, }
Definition at line 299 of file applehttpproto.c.