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: Benjamin Wolsey
Subject: Re: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-191-gaa7f559
Date: Wed, 09 Mar 2011 08:10:12 +0100

> 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

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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