Browse Source

avcodec/dss_sp: de-obfuscate index inversion

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 11 years ago
parent
commit
31fb029f2d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dss_sp.c

+ 1
- 1
libavcodec/dss_sp.c View File

@@ -378,7 +378,7 @@ static void dss_sp_unpack_coeffs(DssSpContext *p, const uint8_t *src)
if (C72_binomials[index] <= combined_pulse_pos) {
combined_pulse_pos -= C72_binomials[index];

fparam->sf[subframe_idx].pulse_pos[(index ^ 7) - 1] = i;
fparam->sf[subframe_idx].pulse_pos[6 - index] = i;

if (!index)
break;


Loading…
Cancel
Save