view sha1.h @ 336:f340106d09ac libavutil

Proper fix for r8963 Patch by Jindrich Makovicka, makovick at gmail dot com Reference thread: Subject: Re: [PATCH] make libavcodec use bytestream functions Date: Thu, 10 May 2007 07:49:43 +0200
author ramiro
date Thu, 10 May 2007 18:28:44 +0000
parents c82b7b95e69d
children f21d1907d47c
line wrap: on
line source

#ifndef AV_SHA1_H
#define AV_SHA1_H

extern const int av_sha1_size;

struct AVSHA1;

void av_sha1_init(struct AVSHA1* context);
void av_sha1_update(struct AVSHA1* context, uint8_t* data, unsigned int len);
void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]);
#endif