aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cook.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-26 21:03:49 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-29 13:43:28 -0400
commitb277ebd508a0ceeb187d5ae8c463ce6ffb06b4c8 (patch)
tree699460caa6fb7ffe5ea5452dcde5bc24dddfdbce /libavcodec/cook.c
parentc9c841e2314ab9812f4956441e91f90193fcac5e (diff)
downloadffmpeg-b277ebd508a0ceeb187d5ae8c463ce6ffb06b4c8.tar.gz
cook: remove pointless return statements
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r--libavcodec/cook.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 7157a8ce01..462a8c40fc 100644
--- 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;
}
}