[FFmpeg-cvslog] lavf/audiointerleave: use av_fifo_alloc_array

Lukasz Marek git at videolan.org
Tue May 20 00:35:48 CEST 2014


ffmpeg | branch: master | Lukasz Marek <lukasz.m.luki2 at gmail.com> | Sun May 11 05:29:19 2014 +0200| [c61cdefa4d795b4484bc8e2280aa570c00833336] | committer: Lukasz Marek

lavf/audiointerleave: use av_fifo_alloc_array

Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c61cdefa4d795b4484bc8e2280aa570c00833336
---

 libavformat/audiointerleave.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/audiointerleave.c b/libavformat/audiointerleave.c
index 6d24ff5..1243f43 100644
--- a/libavformat/audiointerleave.c
+++ b/libavformat/audiointerleave.c
@@ -67,7 +67,7 @@ int ff_audio_interleave_init(AVFormatContext *s,
             aic->time_base = time_base;
 
             aic->fifo_size = 100* *aic->samples;
-            aic->fifo= av_fifo_alloc(100 * *aic->samples);
+            aic->fifo= av_fifo_alloc_array(100, *aic->samples);
         }
     }
 



More information about the ffmpeg-cvslog mailing list