diff sha1.h @ 446:81f4d434dc96 libavutil

Missing const found by -Wwrite-strings.
author michael
date Sun, 03 Feb 2008 21:56:13 +0000
parents d0f3bb6e367e
children bd4052d9050c
line wrap: on
line diff
--- a/sha1.h	Fri Feb 01 16:30:51 2008 +0000
+++ b/sha1.h	Sun Feb 03 21:56:13 2008 +0000
@@ -28,7 +28,7 @@
 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_update(struct AVSHA1* context, const uint8_t* data, unsigned int len);
 void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]);
 
 #endif /* FFMPEG_SHA1_H */