[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9578: Attempt to fix the Debian Etc
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9578: Attempt to fix the Debian Etch build. |
Date: |
Tue, 12 Aug 2008 09:45:16 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9578
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Tue 2008-08-12 09:45:16 +0200
message:
Attempt to fix the Debian Etch build.
modified:
libcore/swf/tag_loaders.cpp
=== modified file 'libcore/swf/tag_loaders.cpp'
--- a/libcore/swf/tag_loaders.cpp 2008-08-10 17:08:19 +0000
+++ b/libcore/swf/tag_loaders.cpp 2008-08-12 07:45:16 +0000
@@ -248,7 +248,7 @@
// Anyway the actual reads are limited to currently opened tag as
// of gnash::SWFStream::read(), so this is not a problem.
//
- boost::shared_ptr<tu_file> ad( StreamAdapter::getFile(in,
std::numeric_limits<unsigned long>::max()) );
+ boost::shared_ptr<tu_file> ad(StreamAdapter::getFile(in,
std::numeric_limits<unsigned long>::max()).release());
// transfer ownership to the JpegImageInput
j_in = JpegImageInput::createSWFJpeg2HeaderOnly(ad, jpegHeaderSize);
@@ -339,7 +339,7 @@
// Read the image data.
//
- boost::shared_ptr<tu_file> ad( StreamAdapter::getFile(in,
in.get_tag_end_position()) );
+ boost::shared_ptr<tu_file> ad( StreamAdapter::getFile(in,
in.get_tag_end_position()).release() );
std::auto_ptr<image::rgb> im (image::readImageData(ad,
GNASH_FILETYPE_JPEG));
if ( m->get_bitmap_character_def(character_id) )
@@ -468,7 +468,7 @@
//
// Read rgb data.
- boost::shared_ptr<tu_file> ad( StreamAdapter::getFile(in, alpha_position)
);
+ boost::shared_ptr<tu_file> ad( StreamAdapter::getFile(in,
alpha_position).release() );
std::auto_ptr<image::rgba> im = image::readSWFJpeg3(ad);
/// Failure to read the jpeg.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r9578: Attempt to fix the Debian Etch build.,
Benjamin Wolsey <=