#include "StdAfx.h"
#include "BlackArea.h"
/* 
    RawSpeed - RAW file decoder.

    Copyright (C) 2009 Klaus Post

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

    http://www.klauspost.com
*/

namespace RawSpeed {

BlackArea::BlackArea( int _offset, int _size, bool _isVertical ) :
offset(_offset), size(_size), isVertical(_isVertical)
{

}

BlackArea::~BlackArea(void)
{
}

} // namespace RawSpeed

#include "StdAfx.h"
#include "BlackArea.h"
/* 
    RawSpeed - RAW file decoder.

    Copyright (C) 2009 Klaus Post

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

    http://www.klauspost.com
*/

namespace RawSpeed {

BlackArea::BlackArea( int _offset, int _size, bool _isVertical ) :
offset(_offset), size(_size), isVertical(isVertical)
{

}

BlackArea::~BlackArea(void)
{
}

} // namespace RawSpeed

--- 
+++ 
@@ -25,7 +25,7 @@
 namespace RawSpeed {
 
 BlackArea::BlackArea( int _offset, int _size, bool _isVertical ) :
-offset(_offset), size(_size), isVertical(isVertical)
+offset(_offset), size(_size), isVertical(_isVertical)
 {
 
 }
Fix orientation of black areas (value left uninitialized).

git-svn-id: 04e88ac4940b0408b73cd6f458a224a262abaaff@355 ec705bc8-faf6-4f9b-9aff-b4916e9bedc3
