diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-15 20:55:17 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-15 20:55:17 +0400 |
commit | 47aae2bc2e4a9b3eacc5e563c1184be58b999d61 (patch) | |
tree | 90e69f4ec4400f4c203725bef8555d76ec19830f /libavfilter/src_buffer.c | |
parent | f8196759b45d658fd67064c83e18da1cc871e205 (diff) |
lavfi: switch to _alt functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/src_buffer.c')
-rw-r--r-- | libavfilter/src_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/src_buffer.c b/libavfilter/src_buffer.c index 6355cce836..f8d572d085 100644 --- a/libavfilter/src_buffer.c +++ b/libavfilter/src_buffer.c @@ -597,9 +597,9 @@ int av_asrc_buffer_add_samples(AVFilterContext *ctx, AVFilterBufferRef *samplesref; samplesref = avfilter_get_audio_buffer_ref_from_arrays( - data, linesize, AV_PERM_WRITE, + data, linesize[0], AV_PERM_WRITE, nb_samples, - sample_fmt, channel_layout, planar); + sample_fmt, channel_layout); if (!samplesref) return AVERROR(ENOMEM); |