aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/smc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/codecs/smc.cpp')
-rw-r--r--video/codecs/smc.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/video/codecs/smc.cpp b/video/codecs/smc.cpp
index 745fdc0260..2eedb62a0f 100644
--- a/video/codecs/smc.cpp
+++ b/video/codecs/smc.cpp
@@ -18,9 +18,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * $URL$
- * $Id$
- *
*/
// Based off ffmpeg's SMC decoder
@@ -50,7 +47,7 @@ namespace Video {
SMCDecoder::SMCDecoder(uint16 width, uint16 height) {
_surface = new Graphics::Surface();
- _surface->create(width, height, 1);
+ _surface->create(width, height, Graphics::PixelFormat::createFormatCLUT8());
}
SMCDecoder::~SMCDecoder() {