[FFmpeg-devel] [PATCH] Add MD5 protocol

Michael Niedermayer michaelni
Sun Jul 18 17:37:52 CEST 2010


On Sun, Jul 18, 2010 at 04:11:38PM +0100, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> 
> > On Sun, Jul 18, 2010 at 03:40:57PM +0100, M?ns Rullg?rd wrote:
> >> Michael Niedermayer <michaelni at gmx.at> writes:
> >> 
> >> > On Sun, Jul 18, 2010 at 12:31:10AM +0100, Mans Rullgard wrote:
> >> >> 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.
> >> >> ---
> >> >>  libavformat/Makefile     |    1 +
> >> >>  libavformat/allformats.c |    1 +
> >> >>  libavformat/md5proto.c   |   92 ++++++++++++++++++++++++++++++++++++++++++++++
> >> >>  3 files changed, 94 insertions(+), 0 deletions(-)
> >> >>  create mode 100644 libavformat/md5proto.c
> >> >
> >> > ok
> >> 
> >> What about allowing numbers in protocol names?  
> >
> > you want to violate the specs?
> 
> I went and read RFC1738, and look what I found:
> 
>    Scheme names consist of a sequence of characters. The lower case
>    letters "a"--"z", digits, and the characters plus ("+"), period
>    ("."), and hyphen ("-") are allowed.
> 
> So we are actually violating the spec by _not_ allowing numbers.

then we should fix that ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100718/9ed3681f/attachment.pgp>



More information about the ffmpeg-devel mailing list