aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-05 20:17:32 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-26 11:50:16 -0400
commitdbbb9262ca0fd09f2582b11157a74c88ab7e1db5 (patch)
tree255e21abca03900eb7628f8fb29b925f257d60bf
parent53df079a730043cd0aa330c9aba7950034b1424f (diff)
downloadffmpeg-dbbb9262ca0fd09f2582b11157a74c88ab7e1db5.tar.gz
alacdec: remove unneeded numsamples checks
-rw-r--r--libavcodec/alac.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 8e6c4f9225..3772484ff5 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -305,8 +305,6 @@ static void reconstruct_stereo_16(int32_t *buffer[MAX_CHANNELS],
uint8_t interlacing_leftweight)
{
int i;
- if (numsamples <= 0)
- return;
/* weighted interlacing */
if (interlacing_leftweight) {
@@ -348,9 +346,6 @@ static void decorrelate_stereo_24(int32_t *buffer[MAX_CHANNELS],
{
int i;
- if (numsamples <= 0)
- return;
-
/* weighted interlacing */
if (interlacing_leftweight) {
for (i = 0; i < numsamples; i++) {