[FFmpeg-cvslog] avfilter_get_audio_buffer_ref_from_frame: fix handling of >8 channels
Michael Niedermayer
git at videolan.org
Mon Jan 28 21:51:04 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 28 21:44:25 2013 +0100| [1336382c6d4d45e2c3513bf79f079349580a6db1] | committer: Michael Niedermayer
avfilter_get_audio_buffer_ref_from_frame: fix handling of >8 channels
Found-by: inferno at chromium.org
Reported-by: Dale Curtis <dalecurtis at google.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1336382c6d4d45e2c3513bf79f079349580a6db1
---
libavfilter/avcodec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c
index 2343d19..dd3c886 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;
More information about the ffmpeg-cvslog
mailing list