diff options
| author | Martin Storsjö <martin@martin.st> | 2011-12-30 11:38:05 +0200 |
|---|---|---|
| committer | Martin Storsjö <martin@martin.st> | 2012-01-05 23:56:52 +0200 |
| commit | 32b83aeec1a129d6eef2e89c7f107c614dfb4574 (patch) | |
| tree | 564aa1bbac6df55321d56f46f048144c7ad5ffa1 /libavformat/tcp.c | |
| parent | bb5b3940b08d8dad5b7e948e8f3b02cd2eb70716 (diff) | |
| download | ffmpeg-32b83aeec1a129d6eef2e89c7f107c614dfb4574.tar.gz | |
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>
Diffstat (limited to 'libavformat/tcp.c')
| -rw-r--r-- | libavformat/tcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 0d3aeaf48c..fdb457e8c5 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -204,4 +204,5 @@ URLProtocol ff_tcp_protocol = { .url_close = tcp_close, .url_get_file_handle = tcp_get_file_handle, .priv_data_size = sizeof(TCPContext), + .flags = URL_PROTOCOL_FLAG_NETWORK, }; |
