gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_st


From: Bastiaan Jacques
Subject: Re: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-191-gaa7f559
Date: Wed, 9 Mar 2011 13:58:07 +0100 (CET)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

Good idea, will do.

Bastiaan

On Wed, 9 Mar 2011, Benjamin Wolsey wrote:

diff --git a/libmedia/ffmpeg/MediaParserFfmpeg.cpp 
b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
index 78d2f62..daf225a 100644
--- a/libmedia/ffmpeg/MediaParserFfmpeg.cpp
+++ b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
@@ -546,9 +546,10 @@ MediaParserFfmpeg::seekMedia(boost::int64_t offset, int 
whence)
                                _("MediaParserFfmpeg couldn't parse input format: 
"
                                "tried to seek at negative offset %1%."))
                                % offset;
-                       throw MediaException(fmt.str());

It might avoid future problems if the requirement not to throw and the
reason were clearly documented in the header!

bwy

--
--
The current release of Gnash is 0.8.8
http://www.gnu.org/software/gnash/

Benjamin Wolsey, Software Developer - http://benjaminwolsey.de
C++ and Open-Source Flash blog - http://www.benjaminwolsey.de/bwysblog

xmpp:address@hidden
http://identi.ca/bwy





reply via email to

[Prev in Thread] Current Thread [Next in Thread]