Revision 8b484d0f ffmpeg.c

View differences:

ffmpeg.c
568 568

  
569 569
    audio_buf_size= (size + isize*dec->channels - 1) / (isize*dec->channels);
570 570
    audio_buf_size= (audio_buf_size*enc->sample_rate + dec->sample_rate) / dec->sample_rate;
571
    audio_buf_size= audio_buf_size*2 + 10000; //saftey factors for the deprecated resampling API
571
    audio_buf_size= audio_buf_size*2 + 10000; //safety factors for the deprecated resampling API
572 572
    audio_buf_size*= osize*enc->channels;
573 573

  
574 574
    audio_out_size= FFMAX(audio_buf_size, enc->frame_size * osize * enc->channels);

Also available in: Unified diff