[FFmpeg-devel] [PATCH 08/10] lavf/audiointerleave: use av_fifo_alloc_array

Lukasz Marek lukasz.m.luki2 at gmail.com
Sun May 11 05:42:04 CEST 2014


Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
---
 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);
         }
     }
 
-- 
1.9.1



More information about the ffmpeg-devel mailing list