Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-19 00:19:08 +0400
committerMåns Rullgård <mans@mansr.com>2010-07-19 00:19:08 +0400
commita1db009e6c0a51804ec8e1046b1ed132ab54ff59 (patch)
treeb042e0146b0d94c3de0de8d2f993563516559e75 /libavformat/allformats.c
parent1ee076b1b154f580a86e079c9b986b25cca39238 (diff)
Add MD5 protocol
This is a write-only protocol which computes the md5sum of data written, and on close writes this to the designated output or stdout if none is specified. It can be used to test muxers without writing an actual file. Originally committed as revision 24309 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 502c36c244..6e66169495 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -223,6 +223,7 @@ void av_register_all(void)
REGISTER_PROTOCOL (GOPHER, gopher);
REGISTER_PROTOCOL (HTTP, http);
REGISTER_PROTOCOL (MMST, mmst);
+ REGISTER_PROTOCOL (MD5, md5);
REGISTER_PROTOCOL (PIPE, pipe);
REGISTER_PROTOCOL (RTMP, rtmp);
#if CONFIG_LIBRTMP