diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-28 21:44:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-28 21:45:16 +0100 |
commit | 1336382c6d4d45e2c3513bf79f079349580a6db1 (patch) | |
tree | 14ec911c56cb437b4d471be4167a3856e3355e0d /libavfilter/avcodec.c | |
parent | 94ef1667bb04ed81ff10f7ba4b8d7e54bd8bc76b (diff) | |
download | ffmpeg-1336382c6d4d45e2c3513bf79f079349580a6db1.tar.gz |
avfilter_get_audio_buffer_ref_from_frame: fix handling of >8 channels
Found-by: inferno@chromium.org
Reported-by: Dale Curtis <dalecurtis@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avcodec.c')
-rw-r--r-- | libavfilter/avcodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index 2343d19e9c..dd3c886df0 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -102,7 +102,7 @@ AVFilterBufferRef *avfilter_get_audio_buffer_ref_from_frame(const AVFrame *frame } samplesref = avfilter_get_audio_buffer_ref_from_arrays_channels( - (uint8_t **)frame->data, frame->linesize[0], perms, + (uint8_t **)frame->extended_data, frame->linesize[0], perms, frame->nb_samples, frame->format, channels, layout); if (!samplesref) return NULL; |