Index: media/gpu/h264_decoder.cc |
diff --git a/media/gpu/h264_decoder.cc b/media/gpu/h264_decoder.cc |
index 8bb39d847e06f597c741dbf2d45a40c06cf29876..91a1d4976231d079bfd64d823f5955d5e0a2e01c 100644 |
--- a/media/gpu/h264_decoder.cc |
+++ b/media/gpu/h264_decoder.cc |
@@ -1141,7 +1141,7 @@ bool H264Decoder::ProcessSPS(int sps_id, bool* need_new_buffers) { |
bool H264Decoder::FinishPrevFrameIfPresent() { |
// If we already have a frame waiting to be decoded, decode it and finish. |
- if (curr_pic_ != NULL) { |
+ if (curr_pic_) { |
if (!DecodePicture()) |
return false; |