Browse Source

Disable unused function, fixes the warning:

tests/tiny_psnr.c:55: warning: ‘exp16’ defined but not used

Originally committed as revision 10968 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 18 years ago
parent
commit
e9b67fe42e
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      tests/tiny_psnr.c

+ 4
- 2
tests/tiny_psnr.c View File

@@ -49,7 +49,8 @@ uint64_t exp16_table[21]={
195360063, 195360063,
582360139072LL, 582360139072LL,
}; };
#if 1

#if 0
// 16.16 fixpoint exp() // 16.16 fixpoint exp()
static unsigned int exp16(unsigned int a){ static unsigned int exp16(unsigned int a){
int i; int i;
@@ -62,6 +63,8 @@ static unsigned int exp16(unsigned int a){


return out; return out;
} }
#endif

// 16.16 fixpoint log() // 16.16 fixpoint log()
static int64_t log16(uint64_t a){ static int64_t log16(uint64_t a){
int i; int i;
@@ -80,7 +83,6 @@ static int64_t log16(uint64_t a){
return out; return out;
} }


#endif
static uint64_t int_sqrt(uint64_t a) static uint64_t int_sqrt(uint64_t a)
{ {
uint64_t ret=0; uint64_t ret=0;


Loading…
Cancel
Save