Originally committed as revision 19449 to svn://svn.ffmpeg.org/ffmpeg/trunk
and leave av_sha1_* functions for compatibility until next major bump. Originally committed as revision 19394 to svn://svn.ffmpeg.org/ffmpeg/trunk