From 98dc4c42fda2e21e7a2d34c05ece729871d4af96 Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Wed, 12 Jul 2017 20:26:40 +0900
Subject: [PATCH 31/31] BufferConsumer.cpp: Fix ordered comparison between
pointer and zero.
---
src/kits/media/BufferConsumer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kits/media/BufferConsumer.cpp b/src/kits/media/BufferConsumer.cpp
index f59df95..7171140 100644
a
|
b
|
BBufferConsumer::SetOutputBuffersFor(const media_source &source,
|
269 | 269 | |
270 | 270 | int32 buffer_count = 0; |
271 | 271 | |
272 | | if (group > 0) { |
| 272 | if (group != NULL) { |
273 | 273 | if (group->CountBuffers(&buffer_count) != B_OK) |
274 | 274 | return B_ERROR; |
275 | 275 | } |