[FFmpeg-cvslog] r12185 - trunk/ffmpeg.c
michael
subversion
Sun Feb 24 02:55:34 CET 2008
Author: michael
Date: Sun Feb 24 02:55:34 2008
New Revision: 12185
Log:
realloc fifo
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Sun Feb 24 02:55:34 2008
@@ -536,6 +536,7 @@ static void do_audio_out(AVFormatContext
/* 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;
More information about the ffmpeg-cvslog
mailing list