From 697df1a10f3cfe202c58b9cdab99a5b9c4c8600f Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Thu, 5 May 2016 16:53:04 +0900
Subject: [PATCH 12/24] VideoConsumer.cpp: fix gcc6 build
---
src/apps/codycam/VideoConsumer.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/apps/codycam/VideoConsumer.cpp b/src/apps/codycam/VideoConsumer.cpp
index 7705c3d..c7a7df2 100644
a
|
b
|
VideoConsumer::LocalSave(char* filename, BBitmap* bitmap)
|
674 | 674 | err = SetFileType(output, fTranslator, fImageFormat); |
675 | 675 | if (err != B_OK) |
676 | 676 | UpdateFtpStatus(B_TRANSLATE("Error setting type of output file")); |
677 | | } |
678 | | else |
| 677 | } else { |
679 | 678 | UpdateFtpStatus(B_TRANSLATE("Error writing output file")); |
680 | | |
| 679 | } |
681 | 680 | input.DetachBitmap(&bitmap); |
682 | 681 | output->Unset(); |
683 | 682 | delete output; |