summaryrefslogtreecommitdiffstats
path: root/dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-20 04:01:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-20 04:01:56 +0000
commit350be0cc3025f133a0a81533188c81ac26d624e8 (patch)
treece8a294f8c00a3f91a1781428ab72592754ea779 /dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp
parentAdding debian version 127.0-1. (diff)
downloadfirefox-350be0cc3025f133a0a81533188c81ac26d624e8.tar.xz
firefox-350be0cc3025f133a0a81533188c81ac26d624e8.zip
Merging upstream version 127.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp')
-rw-r--r--dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp b/dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp
index 381cbf71a8..c471c82e62 100644
--- a/dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp
+++ b/dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp
@@ -285,7 +285,7 @@ MediaResult FFmpegAudioDecoder<LIBAV_VER>::PostProcessOutput(
RefPtr<AudioData> data =
new AudioData(aSample->mOffset, pts, std::move(audio), numChannels,
- samplingRate, numChannels);
+ samplingRate, mAudioInfo.mChannelMap);
MOZ_ASSERT(duration == data->mDuration, "must be equal");
aResults.AppendElement(std::move(data));