Bug 1404661 - Fix typo in comment of flac::FrameHeader::Parse r?kamidphish draft
authorRob Wu <rob@robwu.nl>
Sun, 01 Oct 2017 02:26:38 +0200
changeset 673104 7d2861fac066603b010c04000c909849f006695b
parent 673103 179dccc17c7f261347436b4b1c33029c8272960b
child 734000 711c74967dd29fe46bdcdd04ecabb09f32d6d31a
push id82460
push userbmo:rob@robwu.nl
push dateSun, 01 Oct 2017 00:29:51 +0000
reviewerskamidphish
bugs1404661
milestone58.0a1
Bug 1404661 - Fix typo in comment of flac::FrameHeader::Parse r?kamidphish MozReview-Commit-ID: 7AlN8i4WYu5
dom/media/flac/FlacDemuxer.cpp
--- a/dom/media/flac/FlacDemuxer.cpp
+++ b/dom/media/flac/FlacDemuxer.cpp
@@ -78,17 +78,17 @@ public:
     // Bits per sample.
     int bps_code = br.ReadBits(3);
     if (bps_code == 3 || bps_code == 7) {
       // Invalid sample size code.
       return false;
     }
     mInfo.mBitDepth = FlacSampleSizeTable[bps_code];
 
-    // Reserved bit, most be 1.
+    // Reserved bit, must be 0.
     if (br.ReadBit()) {
       // Broken stream, invalid padding.
       return false;
     }
 
     // Sample or frame count.
     int64_t frame_or_sample_num = br.ReadUTF8();
     if (frame_or_sample_num < 0) {