summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/audio/linux/alsa_output_unittest.cc2
-rw-r--r--media/filters/ffmpeg_demuxer_unittest.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/media/audio/linux/alsa_output_unittest.cc b/media/audio/linux/alsa_output_unittest.cc
index d13da89..e20526e 100644
--- a/media/audio/linux/alsa_output_unittest.cc
+++ b/media/audio/linux/alsa_output_unittest.cc
@@ -215,7 +215,7 @@ TEST_F(AlsaPcmOutputStreamTest, OpenClose) {
test_stream_->Close();
message_loop_.RunAllPending();
- EXPECT_EQ(NULL, test_stream_->playback_handle_);
+ EXPECT_TRUE(test_stream_->playback_handle_ == NULL);
EXPECT_FALSE(test_stream_->packet_.get());
EXPECT_TRUE(test_stream_->stop_stream_);
}
diff --git a/media/filters/ffmpeg_demuxer_unittest.cc b/media/filters/ffmpeg_demuxer_unittest.cc
index 2bea53a..6a233b6 100644
--- a/media/filters/ffmpeg_demuxer_unittest.cc
+++ b/media/filters/ffmpeg_demuxer_unittest.cc
@@ -396,7 +396,7 @@ TEST_F(FFmpegDemuxerTest, Read) {
EXPECT_TRUE(reader->called());
ASSERT_TRUE(reader->buffer());
EXPECT_TRUE(reader->buffer()->IsEndOfStream());
- EXPECT_EQ(NULL, reader->buffer()->GetData());
+ EXPECT_TRUE(reader->buffer()->GetData() == NULL);
EXPECT_EQ(0u, reader->buffer()->GetDataSize());
// Manually release buffer, which should release any remaining AVPackets.
@@ -410,7 +410,7 @@ TEST_F(FFmpegDemuxerTest, Read) {
EXPECT_TRUE(reader->called());
ASSERT_TRUE(reader->buffer());
EXPECT_TRUE(reader->buffer()->IsEndOfStream());
- EXPECT_EQ(NULL, reader->buffer()->GetData());
+ EXPECT_TRUE(reader->buffer()->GetData() == NULL);
EXPECT_EQ(0u, reader->buffer()->GetDataSize());
// Manually release buffer, which should release any remaining AVPackets.