[FFmpeg-devel] [PATCH] Make sha1.c usable, and build it.

Diego 'Flameeyes' Pettenò flameeyes
Wed Dec 12 00:10:06 CET 2007


Hi everybody,

As I've started working toward using libavutil in xine-lib (to avoid
redundancy in the implementations), I'd very much like if also SHA1
generation could be use from libavutil, rather than having it lingering
around xine.

The attached patch makes sha1.c usable, the problem up to now for what I
can see was a missing symbol for av_sha1_size, which I suppose should
carry the size of AVSHA1 (an opaque type, which size the compiler can't
know from outside sha1.c).

It also adds sha1.c to the sources list and installs sha1.h to allow
using it.

I suppose a bump in libavutil versioning might be needed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-sha1.patch
Type: text/x-patch
Size: 797 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071212/a39d463a/attachment.bin>
-------------- next part --------------

-- 
Diego "Flameeyes" Petten?
http://farragut.flameeyes.is-a-geek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071212/a39d463a/attachment.pgp>



More information about the ffmpeg-devel mailing list