Changeset 290e7eb in ffmpeg


Ignore:
Timestamp:
Dec 18, 2011, 1:20:14 PM (13 years ago)
Author:
Carl Eugen Hoyos <cehoyos@ag.or.at>
Branches:
master
Children:
9a972b51
Parents:
b6b00675
Message:

Fix possible endless loop when decoding amr.

Fixes bug 151.

Reviewed-by: Vitor Sessak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libavcodec/acelp_vectors.c

    rb6b00675 r290e7eb  
    238238        float y = in->y[i] * scale;
    239239
     240        if (in->pitch_lag > 0)
    240241        do {
    241242            out[x] += y;
     
    253254        int x  = in->x[i], repeats = !((in->no_repeat_mask >> i) & 1);
    254255
     256        if (in->pitch_lag > 0)
    255257        do {
    256258            out[x] = 0.0;
Note: See TracChangeset for help on using the changeset viewer.