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:
53df079
)
alacdec: remove unneeded numsamples checks
author
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 6 Oct 2011 00:17:32 +0000
(20:17 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 26 Oct 2011 15:50:16 +0000
(11:50 -0400)
libavcodec/alac.c
patch
|
blob
|
history
diff --git
a/libavcodec/alac.c
b/libavcodec/alac.c
index
8e6c4f9
..
3772484
100644
(file)
--- 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++) {