summaryrefslogtreecommitdiffstats
path: root/dom/media/platforms/ffmpeg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-20 04:01:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-20 04:01:55 +0000
commit0409b8aa646ea5192cd91976a89f71024129344c (patch)
treef95ba411e9e8b81d511c448d9fc010a876e8b481 /dom/media/platforms/ffmpeg
parentAdding upstream version 127.0. (diff)
downloadfirefox-0409b8aa646ea5192cd91976a89f71024129344c.tar.xz
firefox-0409b8aa646ea5192cd91976a89f71024129344c.zip
Adding upstream version 127.0.1.upstream/127.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/media/platforms/ffmpeg')
-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));