diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-24 01:55:34 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-24 01:55:34 +0000 |
commit | a6ebca9e09d21f0b13b2b2b027c30a52f0827363 (patch) | |
tree | 1606899912fa386cb3bf955d0159babd6b139e84 | |
parent | 58293e57e158cd18a522df42ebc56611f94cae5e (diff) | |
download | ffmpeg-a6ebca9e09d21f0b13b2b2b027c30a52f0827363.tar.gz |
realloc fifo
Originally committed as revision 12185 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -536,6 +536,7 @@ static void do_audio_out(AVFormatContext *s, /* now encode as many frames as possible */ if (enc->frame_size > 1) { /* output resampled raw samples */ + av_fifo_realloc(&ost->fifo, av_fifo_size(&ost->fifo) + size_out + 1); av_fifo_write(&ost->fifo, buftmp, size_out); frame_bytes = enc->frame_size * 2 * enc->channels; |