f9e1049018
Mozilla Firefox is a free, open-source and cross-platform web browser for Windows, Linux, MacOS X and many other operating systems. It is fast and easy to use, and offers many advantages over other web browsers, such as tabbed browsing and the ability to block pop-up windows. Firefox also offers excellent bookmark and history management, and it can be extended by developers using industry standards such as XML, CSS, JavaScript, C++, etc. Many extensions are available.
15 lines
580 B
C++
15 lines
580 B
C++
$NetBSD: patch-content_media_fmp4_demuxer_bit_reader.cc,v 1.1 2014/11/03 12:18:32 ryoon Exp $
|
|
|
|
Fix build with pre-C++11 compilers like G++ 4.5.3.
|
|
|
|
--- content/media/fmp4/demuxer/bit_reader.cc.orig 2014-07-17 02:45:09.000000000 +0100
|
|
+++ content/media/fmp4/demuxer/bit_reader.cc 2014-07-25 13:00:34.000000000 +0100
|
|
@@ -9,7 +9,7 @@
|
|
|
|
BitReader::BitReader(const uint8_t* data, off_t size)
|
|
: data_(data), bytes_left_(size), num_remaining_bits_in_curr_byte_(0) {
|
|
- DCHECK(data_ != nullptr && bytes_left_ > 0);
|
|
+ DCHECK(data_ != 0 && bytes_left_ > 0);
|
|
|
|
UpdateCurrByte();
|
|
}
|