Revision 4e255822 libavcodec/resample2.c

View differences:

libavcodec/resample2.c
223 223
        }
224 224
    }
225 225
    *consumed= FFMAX(index, 0) >> c->phase_shift;
226
    index= FFMIN(index, 0);
226
    if(index>=0) index &= c->phase_mask;
227 227

  
228 228
    if(compensation_distance){
229 229
        compensation_distance -= dst_index;

Also available in: Unified diff