Commit 0da3deab authored by michael's avatar michael

make output buffer larger so drift compensation can work


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9967 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent aeb0f4f2
......@@ -191,7 +191,7 @@ int audio_resample(ReSampleContext *s, short *output, short *input, int nb_sampl
}
/* make some zoom to avoid round pb */
lenout= (int)(nb_samples * s->ratio) + 16;
lenout= (int)(4*nb_samples * s->ratio) + 16;
bufout[0]= (short*) av_malloc( lenout * sizeof(short) );
bufout[1]= (short*) av_malloc( lenout * sizeof(short) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment