Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: media/filters/ffmpeg_aac_bitstream_converter.cc

Issue 2273203003: Fix channel mapping for 8-ch audio in ffmpeg_aac_bitstream_converter (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_aac_bitstream_converter.cc
diff --git a/media/filters/ffmpeg_aac_bitstream_converter.cc b/media/filters/ffmpeg_aac_bitstream_converter.cc
index 5b8e6f094b0d8e0845ab0decf8e6bfb4a4c7d883..1478bdaff79f12c5216011c72ce042857d358072 100644
--- a/media/filters/ffmpeg_aac_bitstream_converter.cc
+++ b/media/filters/ffmpeg_aac_bitstream_converter.cc
@@ -116,7 +116,7 @@ bool GenerateAdtsHeader(int codec,
hdr[2] |= 1;
hdr[3] |= (2 << 6);
break;
- case 7:
+ case 8:
// front-center, front-left, front-right, side-left, side-right,
// back-left, back-right, LFE-channel
hdr[2] |= 1;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698