Browse Source

libavcodec/als: fix address sanitization error in decoder

Signed-off-by: Umair Khan <omerjerk@gmail.com>
tags/n4.0
Umair Khan Carl Eugen Hoyos 8 years ago
parent
commit
55937bb4a7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/alsdec.c

+ 1
- 1
libavcodec/alsdec.c View File

@@ -920,7 +920,7 @@ static int decode_var_block_data(ALSDecContext *ctx, ALSBlockData *bd)

// reconstruct all samples from residuals
if (bd->ra_block) {
for (smp = 0; smp < opt_order; smp++) {
for (smp = 0; smp < FFMIN(opt_order, block_length); smp++) {
y = 1 << 19;

for (sb = 0; sb < smp; sb++)


Loading…
Cancel
Save