mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-16 12:21:18 +00:00
alacdec: remove unneeded numsamples checks
This commit is contained in:
parent
53df079a73
commit
dbbb9262ca
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user