Browse Source

explain how to test it

Originally committed as revision 8352 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
ae76034cbb
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavutil/sha1.c

+ 2
- 0
libavutil/sha1.c View File

@@ -118,6 +118,8 @@ void av_sha1_final(AVSHA1* context, uint8_t digest[20]){
}
}

// use the following to test
// gcc -DTEST -DHAVE_AV_CONFIG_H -I.. sha1.c -O3 -W -Wall -o sha1 && time ./sha1
#ifdef TEST
#include <stdio.h>
#undef printf


Loading…
Cancel
Save