summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-12-12 00:22:48 +0200
committerMartin Storsjö <martin@martin.st>2013-01-15 11:55:10 +0200
commit2f3bada63e57345329c4f9b48e9b81b5cfc03d05 (patch)
tree0fca9f3fa78273b26df15fa5bdbbc8e9bdcd14d1 /libavformat/allformats.c
parent424da308302bef604844d3110a39f2f03bf5358e (diff)
lavf: Add a protocol for SRTP encryption/decryption
This is mostly useful for encryption together with the RTP muxer, but could also be set up as IO towards the peer with the SDP demuxer with custom IO. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index 34cf566b0f..4aae223c68 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -280,6 +280,7 @@ void av_register_all(void)
REGISTER_PROTOCOL(RTMPTS, rtmpts);
REGISTER_PROTOCOL(RTP, rtp);
REGISTER_PROTOCOL(SCTP, sctp);
+ REGISTER_PROTOCOL(SRTP, srtp);
REGISTER_PROTOCOL(TCP, tcp);
REGISTER_PROTOCOL(TLS, tls);
REGISTER_PROTOCOL(UDP, udp);