lavf/audiointerleave: use av_fifo_alloc_array
authorLukasz Marek <lukasz.m.luki2@gmail.com>
Sun, 11 May 2014 03:29:19 +0000 (05:29 +0200)
committerLukasz Marek <lukasz.m.luki2@gmail.com>
Mon, 19 May 2014 22:00:45 +0000 (00:00 +0200)
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
libavformat/audiointerleave.c

index 6d24ff5..1243f43 100644 (file)
@@ -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);
         }
     }