aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-05-11 05:29:19 +0200
committerLukasz Marek <lukasz.m.luki2@gmail.com>2014-05-20 00:00:45 +0200
commitc61cdefa4d795b4484bc8e2280aa570c00833336 (patch)
tree9215ea023bc058d8bf93b74f4bd5b072c3799fdb
parent74f9c5947d69ce0261335eb76b1e51ea5c7fd40d (diff)
downloadffmpeg-c61cdefa4d795b4484bc8e2280aa570c00833336.tar.gz
lavf/audiointerleave: use av_fifo_alloc_array
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-rw-r--r--libavformat/audiointerleave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/audiointerleave.c b/libavformat/audiointerleave.c
index 6d24ff5c7f..1243f43c18 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);
}
}