Revision 5eac5f29

View differences:

libavcodec/resample.c
191 191
    }
192 192

  
193 193
    /* make some zoom to avoid round pb */
194
    lenout= (int)(nb_samples * s->ratio) + 16;
194
    lenout= (int)(4*nb_samples * s->ratio) + 16;
195 195
    bufout[0]= (short*) av_malloc( lenout * sizeof(short) );
196 196
    bufout[1]= (short*) av_malloc( lenout * sizeof(short) );
197 197

  

Also available in: Unified diff