git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c18784
)
Disable unused function, fixes the warning:
author
Diego Biurrun
<diego@biurrun.de>
Fri, 9 Nov 2007 04:57:28 +0000
(
04:57
+0000)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 9 Nov 2007 04:57:28 +0000
(
04:57
+0000)
tests/tiny_psnr.c:55: warning: ‘exp16’ defined but not used
Originally committed as revision 10968 to svn://svn.ffmpeg.org/ffmpeg/trunk
tests/tiny_psnr.c
patch
|
blob
|
history
diff --git
a/tests/tiny_psnr.c
b/tests/tiny_psnr.c
index
91225f2
..
31a7a1b
100644
(file)
--- a/
tests/tiny_psnr.c
+++ b/
tests/tiny_psnr.c
@@
-49,7
+49,8
@@
uint64_t exp16_table[21]={
195360063,
582360139072LL,
};
-#if 1
+
+#if 0
// 16.16 fixpoint exp()
static unsigned int exp16(unsigned int a){
int i;
@@
-62,6
+63,8
@@
static unsigned int exp16(unsigned int a){
return out;
}
+#endif
+
// 16.16 fixpoint log()
static int64_t log16(uint64_t a){
int i;
@@
-80,7
+83,6
@@
static int64_t log16(uint64_t a){
return out;
}
-#endif
static uint64_t int_sqrt(uint64_t a)
{
uint64_t ret=0;