summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/ffmpeg/libavfilter/af_pan.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/libavfilter/af_pan.c')
-rw-r--r--chromium/third_party/ffmpeg/libavfilter/af_pan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/ffmpeg/libavfilter/af_pan.c b/chromium/third_party/ffmpeg/libavfilter/af_pan.c
index d28f3824821..1b78515b557 100644
--- a/chromium/third_party/ffmpeg/libavfilter/af_pan.c
+++ b/chromium/third_party/ffmpeg/libavfilter/af_pan.c
@@ -370,7 +370,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
if (!outsamples)
return AVERROR(ENOMEM);
- swr_convert(pan->swr, outsamples->data, n, (void *)insamples->data, n);
+ swr_convert(pan->swr, outsamples->extended_data, n,
+ (void *)insamples->extended_data, n);
av_frame_copy_props(outsamples, insamples);
outsamples->channel_layout = outlink->channel_layout;
av_frame_set_channels(outsamples, outlink->channels);