mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-28 07:29:14 +00:00
avio: Add an URLProtocol flag for indicating that a protocol uses network
This definition is in two files, since the definitions will move to the private header at the next bump. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
bb5b3940b0
commit
32b83aeec1
12 changed files with 18 additions and 0 deletions
|
@ -162,6 +162,7 @@ URLProtocol ff_rtmp_protocol = {
|
|||
.url_read_seek = rtmp_read_seek,
|
||||
.url_get_file_handle = rtmp_get_file_handle,
|
||||
.priv_data_size = sizeof(RTMP),
|
||||
.flags = URL_PROTOCOL_FLAG_NETWORK,
|
||||
};
|
||||
|
||||
URLProtocol ff_rtmpt_protocol = {
|
||||
|
@ -174,6 +175,7 @@ URLProtocol ff_rtmpt_protocol = {
|
|||
.url_read_seek = rtmp_read_seek,
|
||||
.url_get_file_handle = rtmp_get_file_handle,
|
||||
.priv_data_size = sizeof(RTMP),
|
||||
.flags = URL_PROTOCOL_FLAG_NETWORK,
|
||||
};
|
||||
|
||||
URLProtocol ff_rtmpe_protocol = {
|
||||
|
@ -186,6 +188,7 @@ URLProtocol ff_rtmpe_protocol = {
|
|||
.url_read_seek = rtmp_read_seek,
|
||||
.url_get_file_handle = rtmp_get_file_handle,
|
||||
.priv_data_size = sizeof(RTMP),
|
||||
.flags = URL_PROTOCOL_FLAG_NETWORK,
|
||||
};
|
||||
|
||||
URLProtocol ff_rtmpte_protocol = {
|
||||
|
@ -198,6 +201,7 @@ URLProtocol ff_rtmpte_protocol = {
|
|||
.url_read_seek = rtmp_read_seek,
|
||||
.url_get_file_handle = rtmp_get_file_handle,
|
||||
.priv_data_size = sizeof(RTMP),
|
||||
.flags = URL_PROTOCOL_FLAG_NETWORK,
|
||||
};
|
||||
|
||||
URLProtocol ff_rtmps_protocol = {
|
||||
|
@ -210,4 +214,5 @@ URLProtocol ff_rtmps_protocol = {
|
|||
.url_read_seek = rtmp_read_seek,
|
||||
.url_get_file_handle = rtmp_get_file_handle,
|
||||
.priv_data_size = sizeof(RTMP),
|
||||
.flags = URL_PROTOCOL_FLAG_NETWORK,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue