Revision 4c64c8e9 libavcodec/ac3.c

View differences:

libavcodec/ac3.c
192 192

  
193 193
    if (dba_mode == DBA_REUSE || dba_mode == DBA_NEW) {
194 194
        int i, seg, delta;
195
        if (dba_nsegs >= 8)
195
        if (dba_nsegs > 8)
196 196
            return -1;
197
        band = 0;
197
        band = band_start;
198 198
        for (seg = 0; seg < dba_nsegs; seg++) {
199 199
            band += dba_offsets[seg];
200 200
            if (band >= AC3_CRITICAL_BANDS || dba_lengths[seg] > AC3_CRITICAL_BANDS-band)

Also available in: Unified diff