Don't prefix them ffio_url, which is misleading, sounding too
much like the urlprotocol layer (like ffurl_*).
Signed-off-by: Martin Storsjö <martin@martin.st>
... | ... |
@@ -40,28 +40,28 @@ |
40 | 40 |
*/ |
41 | 41 |
#define SHORT_SEEK_THRESHOLD 4096 |
42 | 42 |
|
43 |
-static void *ffio_url_child_next(void *obj, void *prev) |
|
43 |
+static void *ff_avio_child_next(void *obj, void *prev) |
|
44 | 44 |
{ |
45 | 45 |
AVIOContext *s = obj; |
46 | 46 |
return prev ? NULL : s->opaque; |
47 | 47 |
} |
48 | 48 |
|
49 |
-static const AVClass *ffio_url_child_class_next(const AVClass *prev) |
|
49 |
+static const AVClass *ff_avio_child_class_next(const AVClass *prev) |
|
50 | 50 |
{ |
51 | 51 |
return prev ? NULL : &ffurl_context_class; |
52 | 52 |
} |
53 | 53 |
|
54 |
-static const AVOption ffio_url_options[] = { |
|
54 |
+static const AVOption ff_avio_options[] = { |
|
55 | 55 |
{ NULL }, |
56 | 56 |
}; |
57 | 57 |
|
58 |
-const AVClass ffio_url_class = { |
|
58 |
+const AVClass ff_avio_class = { |
|
59 | 59 |
.class_name = "AVIOContext", |
60 | 60 |
.item_name = av_default_item_name, |
61 | 61 |
.version = LIBAVUTIL_VERSION_INT, |
62 |
- .option = ffio_url_options, |
|
63 |
- .child_next = ffio_url_child_next, |
|
64 |
- .child_class_next = ffio_url_child_class_next, |
|
62 |
+ .option = ff_avio_options, |
|
63 |
+ .child_next = ff_avio_child_next, |
|
64 |
+ .child_class_next = ff_avio_child_class_next, |
|
65 | 65 |
}; |
66 | 66 |
|
67 | 67 |
static void fill_buffer(AVIOContext *s); |
... | ... |
@@ -703,7 +703,7 @@ int ffio_fdopen(AVIOContext **s, URLContext *h) |
703 | 703 |
(*s)->read_pause = (int (*)(void *, int))h->prot->url_read_pause; |
704 | 704 |
(*s)->read_seek = (int64_t (*)(void *, int, int64_t, int))h->prot->url_read_seek; |
705 | 705 |
} |
706 |
- (*s)->av_class = &ffio_url_class; |
|
706 |
+ (*s)->av_class = &ff_avio_class; |
|
707 | 707 |
return 0; |
708 | 708 |
} |
709 | 709 |
|