From a1db009e6c0a51804ec8e1046b1ed132ab54ff59 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sun, 18 Jul 2010 20:19:08 +0000 Subject: 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 --- libavformat/allformats.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/allformats.c') 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 -- cgit v1.2.3