projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c841e
)
cook: remove pointless return statements
author
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 27 Oct 2011 01:03:49 +0000
(21:03 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 29 Oct 2011 17:43:28 +0000
(13:43 -0400)
libavcodec/cook.c
patch
|
blob
|
history
diff --git
a/libavcodec/cook.c
b/libavcodec/cook.c
index
7157a8c
..
462a8c4
100644
(file)
--- a/
libavcodec/cook.c
+++ b/
libavcodec/cook.c
@@
-658,14
+658,12
@@
static void interpolate_float(COOKContext *q, float* buffer,
for(i=0 ; i<q->gain_size_factor ; i++){
buffer[i]*=fc1;
}
- return;
} else { //smooth gain
fc2 = q->gain_table[11 + (gain_index_next-gain_index)];
for(i=0 ; i<q->gain_size_factor ; i++){
buffer[i]*=fc1;
fc1*=fc2;
}
- return;
}
}