gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash/server/swf tag_loaders.cpp tag_loaders.h


From: strk
Subject: Re: [Gnash-commit] gnash/server/swf tag_loaders.cpp tag_loaders.h
Date: Fri, 27 Oct 2006 16:50:27 +0200

On Fri, Oct 27, 2006 at 02:31:18PM +0000, Vitaly Alexeev wrote:
> +     assert ( dynamic_cast<video_stream_definition*> (chdef) );
> +     video_stream_definition* ch = static_cast<video_stream_definition*> 
> (chdef);
> +     assert(ch != NULL);

ch will be NULL  only if chdef was null (static_cast<> doesn't change it).
In this case the first assertion will fail.

--strk;




reply via email to

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